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.005284/0.005284, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001251/0.001251, allocations: 186.3 kB / 16.67 MB, free: 5.957 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 287 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 100.3 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4115, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006584/0.4182, allocations: 4.431 MB / 0.7702 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5941, allocations: 150.6 MB / 0.9173 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006905/0.5948, allocations: 15.94 kB / 0.9173 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.5954, allocations: 174.3 kB / 0.9175 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.5971, allocations: 0.5171 MB / 0.918 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.5991, allocations: 0.8454 MB / 0.9188 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.6007, allocations: 1.347 MB / 0.9201 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.6016, allocations: 0.6278 MB / 0.9207 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.6023, allocations: 0.4904 MB / 0.9212 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.603, allocations: 0.5094 MB / 0.9217 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.6032, allocations: 120 kB / 0.9218 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009255/0.6041, allocations: 487.6 kB / 0.9223 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.6044, allocations: 303.1 kB / 0.9226 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.605, allocations: 0.5634 MB / 0.9231 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.607, allocations: 1.647 MB / 0.9247 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.607, allocations: 3.984 kB / 0.9247 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6071, allocations: 0 / 0.9247 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.6071, allocations: 0 / 0.9247 GB, free: 0.5781 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.002835/0.6099, allocations: 1.49 MB / 0.9262 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.61, allocations: 12.03 kB / 0.9262 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.6102, allocations: 135.6 kB / 0.9263 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.6111, allocations: 200 kB / 0.9265 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.6125, allocations: 0.7859 MB / 0.9273 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.6126, allocations: 66 kB / 0.9274 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6127, allocations: 80 kB / 0.9274 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.6145, allocations: 0.9457 MB / 0.9284 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6145, allocations: 0 / 0.9284 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.6146, allocations: 40 kB / 0.9284 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.6147, allocations: 24 kB / 0.9284 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6166, allocations: 1.132 MB / 0.9295 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.621, allocations: 2.535 MB / 0.932 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.6227, allocations: 0.9071 MB / 0.9329 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.6233, allocations: 318.7 kB / 0.9332 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.6234, allocations: 24.69 kB / 0.9332 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/0.6244, allocations: 0.5203 MB / 0.9337 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 6.029e-05/0.6245, allocations: 0 / 0.9337 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003446/0.628, allocations: 1.263 MB / 0.935 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6281, allocations: 192.9 kB / 0.9351 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.629, allocations: 0.6372 MB / 0.9358 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/0.6291, allocations: 41.7 kB / 0.9358 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.6295, allocations: 417.1 kB / 0.9362 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.6297, allocations: 289.5 kB / 0.9365 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.63, allocations: 154.6 kB / 0.9366 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.6302, allocations: 394.7 kB / 0.937 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.6308, allocations: 253.9 kB / 0.9372 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.6315, allocations: 375.4 kB / 0.9376 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6327, allocations: 0.6172 MB / 0.9382 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6327, allocations: 3.938 kB / 0.9382 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002132/0.6349, allocations: 0.8412 MB / 0.939 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6349, allocations: 4 kB / 0.939 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6349, allocations: 4 kB / 0.939 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.6355, allocations: 84.89 kB / 0.9391 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.6362, allocations: 159.7 kB / 0.9393 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.6387, allocations: 1.63 MB / 0.9409 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.6395, allocations: 95.44 kB / 0.941 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.6396, allocations: 40.03 kB / 0.941 GB, free: 15.37 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.0004802/0.64, allocations: 257.7 kB / 0.9412 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.6402, allocations: 91.5 kB / 0.9413 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.6429, allocations: 1.144 MB / 0.9424 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.643, allocations: 12 kB / 0.9425 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.643, allocations: 0 / 0.9425 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.643, allocations: 7.984 kB / 0.9425 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.6467, allocations: 2.037 MB / 0.9444 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6467, allocations: 3.938 kB / 0.9445 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.6474, allocations: 155.8 kB / 0.9446 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.6478, allocations: 68.8 kB / 0.9447 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.6479, allocations: 27.97 kB / 0.9447 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.65, allocations: 1.666 MB / 0.9463 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.65, allocations: 0 / 0.9463 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.6523, allocations: 1.057 MB / 0.9474 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.6527, allocations: 288.2 kB / 0.9476 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.6529, allocations: 20 kB / 0.9476 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/0.6536, allocations: 63.92 kB / 0.9477 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6538, allocations: 76.89 kB / 0.9478 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.6539, allocations: 43.92 kB / 0.9478 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006479/0.6545, allocations: 467 kB / 0.9483 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6545, allocations: 0 / 0.9483 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008726/0.6554, allocations: 323.1 kB / 0.9486 GB, free: 7.336 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.004378/0.6598, allocations: 2.125 MB / 0.9507 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.6617, allocations: 0.8312 MB / 0.9515 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6617, allocations: 3.984 kB / 0.9515 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6627, allocations: 0.5472 MB / 0.952 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.664, allocations: 292.8 kB / 0.9523 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3155/0.9796, allocations: 6.518 MB / 0.9586 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.9802, allocations: 1.041 MB / 0.9597 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008878/0.9811, allocations: 267.3 kB / 0.9599 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.9816, allocations: 397.6 kB / 0.9603 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/0.9816, allocations: 0 / 0.9603 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/1.034, allocations: 21.94 MB / 0.9817 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.98, allocations: 15.06 kB / 0.9817 GB, free: 170.8 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)