Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.588/1.588, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 179 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 100.5 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003736, allocations: 8.75 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.513/5.805, allocations: 2.19 GB / 3.09 GB, free: 30.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/5.806, allocations: 96.83 kB / 3.09 GB, free: 30.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7509/6.557, allocations: 57.82 MB / 3.146 GB, free: 312 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.347e-06/6.557, allocations: 0 / 3.146 GB, free: 312 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001629/6.557, allocations: 23.91 kB / 3.147 GB, free: 312 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003274/6.56, allocations: 1.153 MB / 3.148 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/6.56, allocations: 9.25 kB / 3.148 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/6.561, allocations: 125.1 kB / 3.148 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/6.562, allocations: 187.5 kB / 3.148 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/6.563, allocations: 0.6115 MB / 3.149 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/6.563, allocations: 63.88 kB / 3.149 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/6.563, allocations: 74.41 kB / 3.149 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/6.564, allocations: 0.8406 MB / 3.149 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/6.564, allocations: 0 / 3.149 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/6.564, allocations: 35.41 kB / 3.15 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/6.565, allocations: 20.67 kB / 3.15 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/6.566, allocations: 1.064 MB / 3.151 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/6.57, allocations: 2.371 MB / 3.153 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/6.571, allocations: 0.7981 MB / 3.154 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.116e-05/6.571, allocations: 39.44 kB / 3.154 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/6.572, allocations: 421 kB / 3.154 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 5.56e-06/6.572, allocations: 3.984 kB / 3.154 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.002882/6.575, allocations: 1.092 MB / 3.155 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/6.575, allocations: 244.5 kB / 3.155 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/6.576, allocations: 0.5706 MB / 3.156 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/6.576, allocations: 40.61 kB / 3.156 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/6.576, allocations: 366.1 kB / 3.156 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/6.576, allocations: 235.1 kB / 3.157 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/6.576, allocations: 15.94 kB / 3.157 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000145/6.576, allocations: 382.4 kB / 3.157 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/6.577, allocations: 214.9 kB / 3.157 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/6.577, allocations: 324.7 kB / 3.157 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/6.578, allocations: 261 kB / 3.158 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/6.578, allocations: 7.719 kB / 3.158 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001612/6.579, allocations: 0.7119 MB / 3.158 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/6.58, allocations: 4.656 kB / 3.158 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/6.58, allocations: 0 / 3.158 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/6.58, allocations: 90.06 kB / 3.159 GB, free: 308.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/6.581, allocations: 135.7 kB / 3.159 GB, free: 308.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/6.583, allocations: 1.533 MB / 3.16 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/6.583, allocations: 71.73 kB / 3.16 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/6.583, allocations: 36.28 kB / 3.16 GB, free: 306.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0005612/6.584, allocations: 253.4 kB / 3.16 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/6.584, allocations: 72.06 kB / 3.161 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/6.586, allocations: 1.032 MB / 3.162 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/6.586, allocations: 7.906 kB / 3.162 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/6.586, allocations: 3.844 kB / 3.162 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/6.586, allocations: 3.797 kB / 3.162 GB, free: 306.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/6.59, allocations: 1.913 MB / 3.163 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.59, allocations: 0 / 3.163 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/6.59, allocations: 145 kB / 3.164 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/6.591, allocations: 83.03 kB / 3.164 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/6.591, allocations: 23.2 kB / 3.164 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/6.593, allocations: 1.56 MB / 3.165 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/6.593, allocations: 0 / 3.165 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/6.595, allocations: 0.9205 MB / 3.166 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/6.595, allocations: 288.2 kB / 3.166 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/6.595, allocations: 14.66 kB / 3.166 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/6.596, allocations: 69.02 kB / 3.166 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/6.596, allocations: 57.77 kB / 3.167 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/6.596, allocations: 38.11 kB / 3.167 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006114/6.597, allocations: 473.5 kB / 3.167 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/6.597, allocations: 0 / 3.167 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001239/6.598, allocations: 328.9 kB / 3.167 GB, free: 304.4 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.003926/6.602, allocations: 2.391 MB / 3.17 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001503/6.603, allocations: 0.7292 MB / 3.17 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/6.603, allocations: 0 / 3.17 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/6.604, allocations: 497.9 kB / 3.171 GB, free: 303 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/6.605, allocations: 236.5 kB / 3.171 GB, free: 303 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/6.614, allocations: 4.938 MB / 3.176 GB, free: 300.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/6.615, allocations: 1.012 MB / 3.177 GB, free: 299.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009467/6.616, allocations: 255.6 kB / 3.177 GB, free: 299.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/6.616, allocations: 351.6 kB / 3.177 GB, free: 299.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/6.616, allocations: 0 / 3.177 GB, free: 299.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/6.671, allocations: 28.72 MB / 3.206 GB, free: 274.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/6.672, allocations: 281.8 kB / 3.206 GB, free: 274.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.364/10.04, allocations: 0 / 3.206 GB, free: 274.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)