Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 302.5 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001816, allocations: 93.27 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1258, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005725/0.1316, allocations: 4.406 MB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3961/0.5277, allocations: 150.6 MB / 0.8317 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.5284, allocations: 19.5 kB / 0.8317 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.5288, allocations: 173.4 kB / 0.8319 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.5301, allocations: 0.5103 MB / 0.8324 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.5316, allocations: 0.844 MB / 0.8332 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008842/0.5325, allocations: 1.329 MB / 0.8345 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.5333, allocations: 0.699 MB / 0.8352 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004425/0.5337, allocations: 0.5031 MB / 0.8357 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.5342, allocations: 0.5278 MB / 0.8362 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.5343, allocations: 124.4 kB / 0.8363 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006914/0.535, allocations: 493.9 kB / 0.8368 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.5352, allocations: 318 kB / 0.8371 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.5356, allocations: 0.5834 MB / 0.8376 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.537, allocations: 1.665 MB / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.537, allocations: 0 / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.537, allocations: 0 / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.537, allocations: 0 / 0.8393 GB, free: 15.83 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00229/0.5393, allocations: 1.496 MB / 0.8407 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5393, allocations: 9.625 kB / 0.8407 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.5395, allocations: 151.6 kB / 0.8409 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5406, allocations: 217.1 kB / 0.8411 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.5416, allocations: 0.7649 MB / 0.8418 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.5416, allocations: 72.02 kB / 0.8419 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5418, allocations: 92.28 kB / 0.842 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.5433, allocations: 1.011 MB / 0.843 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5434, allocations: 0 / 0.843 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.5435, allocations: 42.09 kB / 0.843 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5435, allocations: 23.12 kB / 0.843 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.5454, allocations: 1.179 MB / 0.8442 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.5492, allocations: 2.708 MB / 0.8468 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5508, allocations: 0.9057 MB / 0.8477 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.5514, allocations: 312.4 kB / 0.848 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.552, allocations: 474 kB / 0.8485 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008905/0.5529, allocations: 0.5032 MB / 0.849 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.194e-06/0.553, allocations: 0 / 0.849 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003186/0.5561, allocations: 1.227 MB / 0.8502 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.5562, allocations: 198.6 kB / 0.8504 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.5569, allocations: 0.6413 MB / 0.851 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.557, allocations: 46.03 kB / 0.851 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.5573, allocations: 421.5 kB / 0.8514 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5575, allocations: 264.4 kB / 0.8517 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.5577, allocations: 153.8 kB / 0.8518 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5579, allocations: 384.2 kB / 0.8522 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.5584, allocations: 254.7 kB / 0.8524 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.559, allocations: 363.7 kB / 0.8528 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.5602, allocations: 0.6006 MB / 0.8534 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5602, allocations: 2.5 kB / 0.8534 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00192/0.5621, allocations: 0.829 MB / 0.8542 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5622, allocations: 4.688 kB / 0.8542 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5622, allocations: 3.938 kB / 0.8542 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.5628, allocations: 90.25 kB / 0.8543 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.5634, allocations: 154.7 kB / 0.8544 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.5654, allocations: 1.628 MB / 0.856 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.5661, allocations: 98.08 kB / 0.8561 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.5661, allocations: 28.05 kB / 0.8561 GB, free: 4.695 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003432/0.5665, allocations: 273 kB / 0.8564 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.5667, allocations: 83.12 kB / 0.8565 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.5691, allocations: 1.11 MB / 0.8576 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5691, allocations: 10.16 kB / 0.8576 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5691, allocations: 0 / 0.8576 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5692, allocations: 3.984 kB / 0.8576 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.5723, allocations: 2.015 MB / 0.8595 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5723, allocations: 0 / 0.8595 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.5729, allocations: 149.2 kB / 0.8597 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.5734, allocations: 70.78 kB / 0.8597 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.5735, allocations: 29.75 kB / 0.8598 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.5752, allocations: 1.661 MB / 0.8614 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5753, allocations: 0 / 0.8614 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.5773, allocations: 1.031 MB / 0.8624 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.5776, allocations: 275.5 kB / 0.8627 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5778, allocations: 19.38 kB / 0.8627 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.5785, allocations: 70.55 kB / 0.8628 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5786, allocations: 72.19 kB / 0.8628 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.5787, allocations: 34.22 kB / 0.8629 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005085/0.5792, allocations: 469.9 kB / 0.8633 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5792, allocations: 0 / 0.8633 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008017/0.5801, allocations: 343 kB / 0.8636 GB, free: 15.49 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003525/0.5836, allocations: 2.091 MB / 0.8657 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.5859, allocations: 1.029 MB / 0.8667 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5859, allocations: 0 / 0.8667 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.5868, allocations: 0.5257 MB / 0.8672 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.588, allocations: 279.3 kB / 0.8675 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.599, allocations: 6.755 MB / 0.8741 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5996, allocations: 1.041 MB / 0.8751 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008568/0.6004, allocations: 267 kB / 0.8753 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.601, allocations: 411.9 kB / 0.8757 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.601, allocations: 0 / 0.8757 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4842/1.085, allocations: 21.71 MB / 0.8969 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.66, allocations: 7.547 kB / 0.8969 GB, free: 2.5 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)