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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001527/0.001527, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.156/1.156, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6499/0.6499, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 58.7 kB / 0.5012 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 80.2 MB / 0.5795 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004705/0.1226, allocations: 4.158 MB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3155/0.4381, allocations: 148.2 MB / 0.7283 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.4387, allocations: 15.59 kB / 0.7283 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.4392, allocations: 138.8 kB / 0.7284 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.4402, allocations: 394.8 kB / 0.7288 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4416, allocations: 0.694 MB / 0.7295 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.4424, allocations: 1.116 MB / 0.7306 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007143/0.4431, allocations: 0.6664 MB / 0.7312 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.4435, allocations: 387.2 kB / 0.7316 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.4439, allocations: 462.7 kB / 0.732 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.444, allocations: 59.53 kB / 0.7321 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.4446, allocations: 399.8 kB / 0.7325 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4448, allocations: 234.7 kB / 0.7327 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.4452, allocations: 493.6 kB / 0.7332 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4462, allocations: 1.486 MB / 0.7346 GB, free: 140 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4463, allocations: 0 / 0.7346 GB, free: 140 kB / 0.545 GB Notification: Performance of FrontEnd: time 8.01e-07/0.4463, allocations: 0 / 0.7346 GB, free: 140 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.4463, allocations: 0 / 0.7346 GB, free: 140 kB / 0.545 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.001925/0.4482, allocations: 1.382 MB / 0.736 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.4482, allocations: 9.375 kB / 0.736 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.4484, allocations: 141.3 kB / 0.7361 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009782/0.4494, allocations: 212 kB / 0.7363 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.4502, allocations: 0.7226 MB / 0.737 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.4502, allocations: 65.09 kB / 0.7371 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/0.4503, allocations: 84.91 kB / 0.7371 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4517, allocations: 0.942 MB / 0.7381 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4517, allocations: 4 kB / 0.7381 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.4518, allocations: 38.78 kB / 0.7381 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4518, allocations: 23.47 kB / 0.7381 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.4534, allocations: 1.126 MB / 0.7392 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.4566, allocations: 2.491 MB / 0.7417 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.4585, allocations: 0.8791 MB / 0.7425 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.459, allocations: 284.5 kB / 0.7428 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.459, allocations: 33.7 kB / 0.7428 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007008/0.4597, allocations: 442.8 kB / 0.7432 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.643e-06/0.4598, allocations: 4 kB / 0.7433 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002531/0.4623, allocations: 1.088 MB / 0.7443 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.4624, allocations: 191.8 kB / 0.7445 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.4629, allocations: 0.604 MB / 0.7451 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.463, allocations: 36.45 kB / 0.7451 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4632, allocations: 401 kB / 0.7455 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4634, allocations: 244.4 kB / 0.7457 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.4636, allocations: 134.1 kB / 0.7459 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4637, allocations: 394.2 kB / 0.7462 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.4641, allocations: 221.1 kB / 0.7465 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.4646, allocations: 326.8 kB / 0.7468 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009089/0.4655, allocations: 0.5394 MB / 0.7473 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4656, allocations: 0 / 0.7473 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001569/0.4671, allocations: 0.7314 MB / 0.748 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4672, allocations: 4 kB / 0.748 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4672, allocations: 4 kB / 0.748 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.4677, allocations: 80.86 kB / 0.7481 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.4683, allocations: 143.8 kB / 0.7482 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.47, allocations: 1.518 MB / 0.7497 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.4705, allocations: 75.38 kB / 0.7498 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4705, allocations: 27.97 kB / 0.7498 GB, free: 4.266 MB / 0.5606 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.0002893/0.4708, allocations: 257.8 kB / 0.7501 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.4709, allocations: 79 kB / 0.7501 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.473, allocations: 0.9979 MB / 0.7511 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.473, allocations: 12 kB / 0.7511 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.473, allocations: 0.875 kB / 0.7511 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.473, allocations: 3.984 kB / 0.7511 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.4758, allocations: 1.902 MB / 0.753 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4758, allocations: 0 / 0.753 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.4763, allocations: 143.8 kB / 0.7531 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004772/0.4768, allocations: 92.62 kB / 0.7532 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.4769, allocations: 26.48 kB / 0.7532 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.4784, allocations: 1.544 MB / 0.7547 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4784, allocations: 0 / 0.7547 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4801, allocations: 0.9218 MB / 0.7556 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.4803, allocations: 251.8 kB / 0.7559 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4804, allocations: 23.98 kB / 0.7559 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.481, allocations: 55.86 kB / 0.7559 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4811, allocations: 71.09 kB / 0.756 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.4812, allocations: 31.98 kB / 0.756 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004178/0.4816, allocations: 439 kB / 0.7565 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4816, allocations: 0 / 0.7565 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006386/0.4822, allocations: 299.2 kB / 0.7568 GB, free: 12.91 MB / 0.5762 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.002901/0.4852, allocations: 1.968 MB / 0.7587 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.4864, allocations: 0.7272 MB / 0.7594 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4864, allocations: 0 / 0.7594 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/0.4872, allocations: 0.4929 MB / 0.7599 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.4882, allocations: 252 kB / 0.7601 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009894/0.4981, allocations: 6.653 MB / 0.7666 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.4986, allocations: 1.016 MB / 0.7676 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006947/0.4993, allocations: 250.3 kB / 0.7678 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004446/0.4997, allocations: 379.3 kB / 0.7682 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.4998, allocations: 0 / 0.7682 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.76/3.26, allocations: 19.49 MB / 0.7872 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/3.26, allocations: 303.9 kB / 0.7875 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/5.826, allocations: 4 kB / 0.7875 GB, free: 13.78 MB / 0.6075 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)