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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8655/0.8655, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 179.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009547, allocations: 92.05 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002292/0.002292, allocations: 276 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.529e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5456, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.218/4.763, allocations: 1.69 GB / 2.448 GB, free: 60.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/4.763, allocations: 93.11 kB / 2.448 GB, free: 60.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1223/4.886, allocations: 58.49 MB / 2.505 GB, free: 7.043 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/4.886, allocations: 0 / 2.505 GB, free: 7.043 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.14e-05/4.886, allocations: 24 kB / 2.505 GB, free: 7.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001493/4.887, allocations: 1.07 MB / 2.506 GB, free: 5.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/4.887, allocations: 12.03 kB / 2.506 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/4.888, allocations: 190.5 kB / 2.506 GB, free: 5.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/4.889, allocations: 0.6114 MB / 2.507 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/4.889, allocations: 24 kB / 2.507 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/4.889, allocations: 44 kB / 2.507 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/4.89, allocations: 0.9835 MB / 2.508 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/4.891, allocations: 0.7311 MB / 2.509 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/4.891, allocations: 4 kB / 2.509 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/4.891, allocations: 0 / 2.509 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/4.891, allocations: 20 kB / 2.509 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/4.894, allocations: 2.263 MB / 2.511 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008118/4.895, allocations: 0.7142 MB / 2.512 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3857/5.281, allocations: 239.5 kB / 2.512 GB, free: 236.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/5.281, allocations: 31.05 kB / 2.512 GB, free: 236.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/5.282, allocations: 392 kB / 2.512 GB, free: 236.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.076e-06/5.282, allocations: 1.094 kB / 2.512 GB, free: 236.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001881/5.284, allocations: 0.6414 MB / 2.513 GB, free: 236.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/5.284, allocations: 245.5 kB / 2.513 GB, free: 236.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/5.285, allocations: 0.4921 MB / 2.514 GB, free: 236.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/5.285, allocations: 29.95 kB / 2.514 GB, free: 236.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/5.285, allocations: 380.8 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/5.285, allocations: 227.8 kB / 2.514 GB, free: 236.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/5.285, allocations: 0.7188 kB / 2.514 GB, free: 236.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001166/5.285, allocations: 376 kB / 2.514 GB, free: 235.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/5.286, allocations: 184.9 kB / 2.515 GB, free: 235.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/5.286, allocations: 296.2 kB / 2.515 GB, free: 235.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/5.287, allocations: 237.5 kB / 2.515 GB, free: 235.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/5.287, allocations: 0.75 kB / 2.515 GB, free: 235.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001509/5.288, allocations: 0.6439 MB / 2.516 GB, free: 235.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/5.288, allocations: 10.73 kB / 2.516 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/5.288, allocations: 2.188 kB / 2.516 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/5.289, allocations: 82.91 kB / 2.516 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/5.289, allocations: 138.9 kB / 2.516 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/5.291, allocations: 1.453 MB / 2.517 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/5.292, allocations: 63.55 kB / 2.517 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/5.292, allocations: 34.64 kB / 2.518 GB, free: 234.4 MB / 0.698 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/5.292, allocations: 116.4 kB / 2.518 GB, free: 234.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001584/5.293, allocations: 0.6481 MB / 2.518 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/5.293, allocations: 71.61 kB / 2.518 GB, free: 234.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/5.295, allocations: 0.9077 MB / 2.519 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/5.296, allocations: 9.031 kB / 2.519 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/5.296, allocations: 3.953 kB / 2.519 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/5.296, allocations: 9.594 kB / 2.519 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/5.298, allocations: 1.691 MB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/5.298, allocations: 4.844 kB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/5.299, allocations: 149.6 kB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/5.3, allocations: 84.23 kB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/5.3, allocations: 17.27 kB / 2.521 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/5.301, allocations: 1.476 MB / 2.523 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/5.301, allocations: 3.75 kB / 2.523 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/5.303, allocations: 0.826 MB / 2.523 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/5.303, allocations: 276.7 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/5.304, allocations: 2.406 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/5.304, allocations: 50.3 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/5.304, allocations: 67.03 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/5.304, allocations: 32.28 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006258/5.305, allocations: 404.6 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/5.305, allocations: 0.5312 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001173/5.306, allocations: 326.6 kB / 2.525 GB, free: 232 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00321/5.309, allocations: 2.359 MB / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001081/5.311, allocations: 0.6467 MB / 2.527 GB, free: 231.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/5.311, allocations: 3.938 kB / 2.527 GB, free: 231.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/5.311, allocations: 446.6 kB / 2.528 GB, free: 231 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/5.312, allocations: 217.9 kB / 2.528 GB, free: 231 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/5.316, allocations: 1.468 MB / 2.53 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/5.316, allocations: 1.024 MB / 2.531 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007308/5.317, allocations: 256.7 kB / 2.531 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/5.317, allocations: 351.9 kB / 2.531 GB, free: 229.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/5.317, allocations: 0 / 2.531 GB, free: 229.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/5.362, allocations: 23.07 MB / 2.554 GB, free: 228.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/5.363, allocations: 223 kB / 2.554 GB, free: 228 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/8.124, allocations: 1.969 kB / 2.554 GB, free: 228 MB / 0.698 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)