Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.003691/0.003691, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.0009436/0.0009436, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 283 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8737/0.8737, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 95.86 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00526/0.1405, allocations: 4.506 MB / 0.7703 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4036/0.5441, allocations: 150.7 MB / 0.9174 GB, free: 7.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.5448, allocations: 16.69 kB / 0.9175 GB, free: 7.684 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.5454, allocations: 185.3 kB / 0.9176 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.547, allocations: 0.5279 MB / 0.9181 GB, free: 6.992 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.5488, allocations: 0.8794 MB / 0.919 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5502, allocations: 1.387 MB / 0.9204 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.551, allocations: 0.6326 MB / 0.921 GB, free: 4.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.5516, allocations: 0.506 MB / 0.9215 GB, free: 3.582 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.5522, allocations: 0.5337 MB / 0.922 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.5524, allocations: 120 kB / 0.9221 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.5532, allocations: 0.5113 MB / 0.9226 GB, free: 2.418 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.5535, allocations: 307 kB / 0.9229 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.554, allocations: 0.5713 MB / 0.9235 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.5558, allocations: 1.71 MB / 0.9251 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5558, allocations: 0 / 0.9251 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5558, allocations: 0 / 0.9251 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.802e-05/0.5558, allocations: 0 / 0.9251 GB, free: 15.84 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002518/0.5583, allocations: 1.53 MB / 0.9266 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.5584, allocations: 12.03 kB / 0.9266 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.5585, allocations: 147.8 kB / 0.9268 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.5594, allocations: 196 kB / 0.927 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.5605, allocations: 0.7905 MB / 0.9277 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.5605, allocations: 70 kB / 0.9278 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5606, allocations: 87.98 kB / 0.9279 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5621, allocations: 0.9807 MB / 0.9288 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.5622, allocations: 0 / 0.9288 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.227e-05/0.5623, allocations: 36 kB / 0.9289 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5623, allocations: 24 kB / 0.9289 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.564, allocations: 1.155 MB / 0.93 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.5677, allocations: 2.685 MB / 0.9326 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.5697, allocations: 0.9855 MB / 0.9336 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.5702, allocations: 329.9 kB / 0.9339 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.5703, allocations: 32.61 kB / 0.934 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.5712, allocations: 0.5335 MB / 0.9345 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 1.984e-06/0.5712, allocations: 0 / 0.9345 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003017/0.5742, allocations: 1.302 MB / 0.9357 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.5743, allocations: 192.9 kB / 0.9359 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/0.575, allocations: 0.6528 MB / 0.9366 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.5751, allocations: 45.7 kB / 0.9366 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.5753, allocations: 409.1 kB / 0.937 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.5755, allocations: 297.5 kB / 0.9373 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.5758, allocations: 166.3 kB / 0.9374 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5759, allocations: 390.7 kB / 0.9378 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.5764, allocations: 265.9 kB / 0.9381 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.5771, allocations: 390.5 kB / 0.9384 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5782, allocations: 0.6281 MB / 0.9391 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5782, allocations: 5.875 kB / 0.9391 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001831/0.58, allocations: 0.8726 MB / 0.9399 GB, free: 292 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.58, allocations: 4 kB / 0.9399 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.58, allocations: 0 / 0.9399 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.5806, allocations: 76.84 kB / 0.94 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.5812, allocations: 171.7 kB / 0.9402 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.5831, allocations: 1.632 MB / 0.9417 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.5838, allocations: 107 kB / 0.9419 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.5838, allocations: 38.55 kB / 0.9419 GB, free: 14.12 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003199/0.5842, allocations: 271.4 kB / 0.9421 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.5843, allocations: 87.44 kB / 0.9422 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.5867, allocations: 1.19 MB / 0.9434 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5867, allocations: 12 kB / 0.9434 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5867, allocations: 0 / 0.9434 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5868, allocations: 7.969 kB / 0.9434 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.5898, allocations: 2.112 MB / 0.9455 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5899, allocations: 4 kB / 0.9455 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.5905, allocations: 167.8 kB / 0.9456 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.5909, allocations: 64.8 kB / 0.9457 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.591, allocations: 43.97 kB / 0.9457 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5926, allocations: 1.662 MB / 0.9474 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5926, allocations: 0 / 0.9474 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.5946, allocations: 1.096 MB / 0.9484 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.5949, allocations: 288.1 kB / 0.9487 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5951, allocations: 31.92 kB / 0.9487 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.5958, allocations: 69.19 kB / 0.9488 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5959, allocations: 80.89 kB / 0.9489 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.596, allocations: 47.91 kB / 0.9489 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004936/0.5965, allocations: 473.8 kB / 0.9494 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5965, allocations: 0 / 0.9494 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007246/0.5972, allocations: 339.1 kB / 0.9497 GB, free: 5.863 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003272/0.6005, allocations: 2.164 MB / 0.9518 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.602, allocations: 0.8676 MB / 0.9527 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.602, allocations: 0 / 0.9527 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/0.6029, allocations: 0.5706 MB / 0.9532 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6041, allocations: 308.1 kB / 0.9535 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/0.6141, allocations: 6.696 MB / 0.9601 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.6146, allocations: 1.051 MB / 0.9611 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000688/0.6153, allocations: 279 kB / 0.9613 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.6158, allocations: 411.3 kB / 0.9617 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6158, allocations: 0 / 0.9617 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.6592, allocations: 22.58 MB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.49, allocations: 11.42 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)