Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005478/0.005479, allocations: 100.3 kB / 15.73 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 197.3 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7618/0.7618, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 66.75 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1649, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006122/0.1711, allocations: 4.142 MB / 0.6632 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.3307, allocations: 150.5 MB / 0.8102 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008155/0.3316, allocations: 23.81 kB / 0.8102 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.3323, allocations: 162.5 kB / 0.8104 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.3344, allocations: 480.7 kB / 0.8108 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3367, allocations: 0.806 MB / 0.8116 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3381, allocations: 1.192 MB / 0.8128 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3943/0.7324, allocations: 0.6684 MB / 0.8134 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009811/0.7334, allocations: 461.9 kB / 0.8139 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.7346, allocations: 479.8 kB / 0.8143 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005212/0.7352, allocations: 113.7 kB / 0.8144 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.7369, allocations: 485.8 kB / 0.8149 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005514/0.7374, allocations: 291.8 kB / 0.8152 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.7385, allocations: 0.5235 MB / 0.8157 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.7419, allocations: 1.576 MB / 0.8172 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7419, allocations: 3.797 kB / 0.8172 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7419, allocations: 0 / 0.8172 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.895e-05/0.742, allocations: 0 / 0.8172 GB, free: 3.812 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003089/0.7451, allocations: 1.374 MB / 0.8186 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7451, allocations: 10.91 kB / 0.8186 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.7453, allocations: 145.4 kB / 0.8187 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.7466, allocations: 203.2 kB / 0.8189 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.7481, allocations: 0.7439 MB / 0.8196 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.7482, allocations: 77.08 kB / 0.8197 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.7484, allocations: 86.16 kB / 0.8198 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7505, allocations: 0.9415 MB / 0.8207 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.7505, allocations: 0.9062 kB / 0.8207 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.7506, allocations: 39.42 kB / 0.8208 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.7507, allocations: 21.25 kB / 0.8208 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.7526, allocations: 1.128 MB / 0.8219 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.7572, allocations: 2.446 MB / 0.8243 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.7593, allocations: 0.875 MB / 0.8251 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.7598, allocations: 288.5 kB / 0.8254 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.7599, allocations: 34.44 kB / 0.8254 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/0.7607, allocations: 437.4 kB / 0.8258 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.7607, allocations: 0.9062 kB / 0.8258 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002888/0.7636, allocations: 1.094 MB / 0.8269 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.7637, allocations: 192.9 kB / 0.8271 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.7644, allocations: 0.5925 MB / 0.8277 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/0.7645, allocations: 43.92 kB / 0.8277 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.7647, allocations: 403.6 kB / 0.8281 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.7649, allocations: 252 kB / 0.8283 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.765, allocations: 129.8 kB / 0.8285 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.7652, allocations: 379.7 kB / 0.8288 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.7657, allocations: 222.4 kB / 0.829 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.7662, allocations: 326.5 kB / 0.8294 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/0.7672, allocations: 0.5431 MB / 0.8299 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7672, allocations: 2.281 kB / 0.8299 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001789/0.769, allocations: 0.7307 MB / 0.8306 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.769, allocations: 8.281 kB / 0.8306 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7691, allocations: 1.594 kB / 0.8306 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.7697, allocations: 87.23 kB / 0.8307 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.7703, allocations: 146.7 kB / 0.8308 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.7723, allocations: 1.627 MB / 0.8324 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.7729, allocations: 80.42 kB / 0.8325 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.773, allocations: 27.2 kB / 0.8325 GB, free: 14.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004872/0.7735, allocations: 254.1 kB / 0.8328 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7737, allocations: 80.45 kB / 0.8328 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.7759, allocations: 0.9905 MB / 0.8338 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7759, allocations: 9.094 kB / 0.8338 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7759, allocations: 0.9062 kB / 0.8338 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.776, allocations: 6.969 kB / 0.8338 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.779, allocations: 1.913 MB / 0.8357 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7791, allocations: 0 / 0.8357 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.7796, allocations: 149.2 kB / 0.8358 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.78, allocations: 71.03 kB / 0.8359 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.7801, allocations: 20.33 kB / 0.8359 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.7818, allocations: 1.663 MB / 0.8375 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7818, allocations: 3.938 kB / 0.8376 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.7835, allocations: 0.9215 MB / 0.8385 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.7839, allocations: 261.9 kB / 0.8387 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.784, allocations: 14.12 kB / 0.8387 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.7845, allocations: 57.92 kB / 0.8388 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.7846, allocations: 59.67 kB / 0.8388 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.7847, allocations: 35.34 kB / 0.8389 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000466/0.7852, allocations: 438.2 kB / 0.8393 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7852, allocations: 0.7812 kB / 0.8393 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008517/0.786, allocations: 302 kB / 0.8396 GB, free: 12.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003109/0.7892, allocations: 1.964 MB / 0.8415 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.7906, allocations: 0.7327 MB / 0.8422 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7906, allocations: 1 kB / 0.8422 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007585/0.7914, allocations: 0.4889 MB / 0.8427 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.7925, allocations: 287.3 kB / 0.843 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/0.8019, allocations: 6.043 MB / 0.8489 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.8025, allocations: 1.018 MB / 0.8498 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008309/0.8033, allocations: 263.9 kB / 0.8501 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.8038, allocations: 380.1 kB / 0.8505 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.8038, allocations: 0 / 0.8505 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/0.8531, allocations: 20.78 MB / 0.8708 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.92, allocations: 8.938 kB / 0.8708 GB, free: 3.754 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)