Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.005817/0.005817, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001325/0.001325, allocations: 195.9 kB / 16.68 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 290.3 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8638/0.8638, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 95.84 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3685, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00551/0.374, allocations: 4.443 MB / 0.7702 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.5146, allocations: 150.6 MB / 0.9173 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.5153, allocations: 15.94 kB / 0.9173 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.5159, allocations: 178.3 kB / 0.9175 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.5177, allocations: 0.5253 MB / 0.918 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.5196, allocations: 0.8437 MB / 0.9188 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.5211, allocations: 1.355 MB / 0.9201 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008859/0.522, allocations: 0.6278 MB / 0.9207 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.5227, allocations: 0.4905 MB / 0.9212 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006751/0.5233, allocations: 0.5056 MB / 0.9217 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.5236, allocations: 124 kB / 0.9218 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.5245, allocations: 487.5 kB / 0.9223 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.5248, allocations: 303.1 kB / 0.9226 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.5254, allocations: 0.5674 MB / 0.9231 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5273, allocations: 1.651 MB / 0.9248 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5273, allocations: 0 / 0.9248 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5273, allocations: 0 / 0.9248 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.5274, allocations: 0 / 0.9248 GB, free: 0.5664 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002801/0.5302, allocations: 1.494 MB / 0.9262 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5302, allocations: 8.031 kB / 0.9262 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.5304, allocations: 143.6 kB / 0.9264 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.5313, allocations: 188 kB / 0.9265 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5325, allocations: 0.7851 MB / 0.9273 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.5326, allocations: 73.94 kB / 0.9274 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.5327, allocations: 84 kB / 0.9275 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.5343, allocations: 0.9457 MB / 0.9284 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.5344, allocations: 0 / 0.9284 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/0.5345, allocations: 40 kB / 0.9284 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5345, allocations: 23.94 kB / 0.9284 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5363, allocations: 1.124 MB / 0.9295 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.5402, allocations: 2.539 MB / 0.932 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.5417, allocations: 0.9033 MB / 0.9329 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.5423, allocations: 318.8 kB / 0.9332 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.5423, allocations: 32.61 kB / 0.9332 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.5432, allocations: 0.5177 MB / 0.9337 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 2.865e-06/0.5432, allocations: 3.938 kB / 0.9337 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003114/0.5463, allocations: 1.259 MB / 0.935 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.5464, allocations: 192.9 kB / 0.9352 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.5472, allocations: 0.6372 MB / 0.9358 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.5473, allocations: 45.7 kB / 0.9358 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.5476, allocations: 409 kB / 0.9362 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5478, allocations: 289.5 kB / 0.9365 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5481, allocations: 162.5 kB / 0.9366 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5482, allocations: 382.8 kB / 0.937 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.5487, allocations: 261.9 kB / 0.9373 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.5493, allocations: 375.4 kB / 0.9376 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.5504, allocations: 0.6094 MB / 0.9382 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5504, allocations: 0 / 0.9382 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001851/0.5523, allocations: 0.8374 MB / 0.939 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5523, allocations: 11.98 kB / 0.939 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5523, allocations: 0 / 0.939 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/0.5529, allocations: 80.91 kB / 0.9391 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.5535, allocations: 163.7 kB / 0.9393 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.5554, allocations: 1.638 MB / 0.9409 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007004/0.5562, allocations: 95.56 kB / 0.941 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.5562, allocations: 31.98 kB / 0.941 GB, free: 15.36 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0003974/0.5566, allocations: 269.6 kB / 0.9413 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.5568, allocations: 95.31 kB / 0.9413 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.5592, allocations: 1.136 MB / 0.9425 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.5592, allocations: 8 kB / 0.9425 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5592, allocations: 4 kB / 0.9425 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5593, allocations: 7.969 kB / 0.9425 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.5625, allocations: 2.041 MB / 0.9445 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5625, allocations: 0 / 0.9445 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.5631, allocations: 155.8 kB / 0.9446 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/0.5635, allocations: 76.78 kB / 0.9447 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.5636, allocations: 31.91 kB / 0.9447 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.5654, allocations: 1.658 MB / 0.9463 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5654, allocations: 0 / 0.9463 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5674, allocations: 1.061 MB / 0.9474 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.5678, allocations: 284.1 kB / 0.9476 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.568, allocations: 20 kB / 0.9477 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.5687, allocations: 78.95 kB / 0.9477 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5688, allocations: 72.89 kB / 0.9478 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.5689, allocations: 39.97 kB / 0.9478 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005761/0.5695, allocations: 467 kB / 0.9483 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.472e-06/0.5695, allocations: 0 / 0.9483 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008321/0.5703, allocations: 323.1 kB / 0.9486 GB, free: 7.312 MB / 0.7169 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 (100): * Single equations (assignments): 93 * 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.003424/0.5738, allocations: 2.109 MB / 0.9507 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.5754, allocations: 0.8392 MB / 0.9515 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5755, allocations: 4 kB / 0.9515 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.5764, allocations: 0.5392 MB / 0.952 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5777, allocations: 300.8 kB / 0.9523 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2964/0.8741, allocations: 6.521 MB / 0.9587 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.8748, allocations: 1.039 MB / 0.9597 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008246/0.8756, allocations: 269.1 kB / 0.9599 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.8762, allocations: 397.7 kB / 0.9603 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/0.8762, allocations: 0 / 0.9603 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.9182, allocations: 21.92 MB / 0.9817 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.45, allocations: 21.2 kB / 0.9817 GB, free: 170.9 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)