Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.9 MB, free: 10.94 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.001088/0.001088, allocations: 183.8 kB / 327.6 MB, free: 2.191 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.566/1.566, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007676/0.0007676, allocations: 92.59 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 13.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.882/4.049, allocations: 2.19 GB / 3.091 GB, free: 29.26 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/4.05, allocations: 93.61 kB / 3.091 GB, free: 29.17 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6003/4.65, allocations: 63.09 MB / 3.153 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.795e-06/4.65, allocations: 3.75 kB / 3.153 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.75e-05/4.65, allocations: 18.69 kB / 3.153 GB, free: 312.7 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001854/4.652, allocations: 1.123 MB / 3.154 GB, free: 312 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/4.652, allocations: 9.344 kB / 3.154 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007446/4.653, allocations: 189.9 kB / 3.154 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/4.653, allocations: 0.633 MB / 3.155 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/4.654, allocations: 54.91 kB / 3.155 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/4.654, allocations: 73.06 kB / 3.155 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/4.655, allocations: 0.8415 MB / 3.156 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/4.655, allocations: 192 / 3.156 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/4.655, allocations: 41.16 kB / 3.156 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/4.655, allocations: 18.78 kB / 3.156 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/4.656, allocations: 1.063 MB / 3.157 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/4.659, allocations: 2.385 MB / 3.159 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/4.66, allocations: 0.7278 MB / 3.16 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/4.661, allocations: 281.9 kB / 3.16 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/4.661, allocations: 36.89 kB / 3.16 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005976/4.662, allocations: 427.3 kB / 3.16 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/4.662, allocations: 4 kB / 3.16 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002561/4.664, allocations: 1.093 MB / 3.162 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/4.664, allocations: 239.4 kB / 3.162 GB, free: 310.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/4.665, allocations: 0.6311 MB / 3.162 GB, free: 310 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/4.665, allocations: 40.55 kB / 3.162 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/4.665, allocations: 370.2 kB / 3.163 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/4.665, allocations: 230.4 kB / 3.163 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/4.665, allocations: 13.12 kB / 3.163 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/4.666, allocations: 379.6 kB / 3.163 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/4.666, allocations: 218.4 kB / 3.164 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/4.666, allocations: 328.9 kB / 3.164 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/4.667, allocations: 0.5379 MB / 3.164 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/4.667, allocations: 0 / 3.164 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001407/4.669, allocations: 0.722 MB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/4.669, allocations: 10.22 kB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/4.669, allocations: 64 / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/4.669, allocations: 83.5 kB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/4.67, allocations: 136.9 kB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/4.671, allocations: 1.533 MB / 3.167 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/4.672, allocations: 80.84 kB / 3.167 GB, free: 307.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/4.672, allocations: 24.78 kB / 3.167 GB, free: 307.7 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 (72): * Single equations (assignments): 71 * 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.0003602/4.672, allocations: 247.1 kB / 3.167 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/4.672, allocations: 75.44 kB / 3.167 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/4.674, allocations: 0.9994 MB / 3.168 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/4.674, allocations: 11.61 kB / 3.168 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/4.674, allocations: 3.875 kB / 3.168 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/4.674, allocations: 4.969 kB / 3.168 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/4.675, allocations: 0.8658 MB / 3.169 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/4.675, allocations: 0 / 3.169 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/4.675, allocations: 135.6 kB / 3.169 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/4.676, allocations: 90.73 kB / 3.169 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/4.676, allocations: 16.95 kB / 3.169 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/4.677, allocations: 1.563 MB / 3.171 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/4.677, allocations: 3.938 kB / 3.171 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/4.679, allocations: 0.8333 MB / 3.172 GB, free: 305.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/4.679, allocations: 282.9 kB / 3.172 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/4.679, allocations: 17.91 kB / 3.172 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/4.68, allocations: 61.83 kB / 3.172 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/4.68, allocations: 62.22 kB / 3.172 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/4.68, allocations: 29.61 kB / 3.172 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000471/4.68, allocations: 476.1 kB / 3.173 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/4.68, allocations: 0 / 3.173 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009466/4.681, allocations: 337 kB / 3.173 GB, free: 304.8 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.002049/4.683, allocations: 1.029 MB / 3.174 GB, free: 304.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001417/4.685, allocations: 0.723 MB / 3.175 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/4.685, allocations: 0 / 3.175 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/4.685, allocations: 483 kB / 3.175 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/4.687, allocations: 255 kB / 3.175 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/4.69, allocations: 2.037 MB / 3.177 GB, free: 302.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/4.69, allocations: 0.9989 MB / 3.178 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007364/4.691, allocations: 245.4 kB / 3.178 GB, free: 301.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/4.691, allocations: 93.23 kB / 3.179 GB, free: 301.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.81e-07/4.691, allocations: 0 / 3.179 GB, free: 301.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.02534/4.717, allocations: 20.14 MB / 3.198 GB, free: 283 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)