Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7432/0.7432, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.7 kB / 187.3 MB, free: 11.86 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.458/1.458, allocations: 221.3 MB / 441.4 MB, free: 4.566 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.001004/0.001004, allocations: 100.1 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001977, allocations: 274.3 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.22e-05/4.222e-05, allocations: 4 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.5623, allocations: 82.76 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.609/5.171, allocations: 1.692 GB / 2.456 GB, free: 50.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.171, allocations: 103.3 kB / 2.456 GB, free: 50.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5158/5.687, allocations: 60.14 MB / 2.515 GB, free: 233.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/5.687, allocations: 1.25 kB / 2.515 GB, free: 233.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.445e-05/5.687, allocations: 26.34 kB / 2.515 GB, free: 233.5 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001789/5.689, allocations: 1.092 MB / 2.516 GB, free: 232.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/5.689, allocations: 9.625 kB / 2.516 GB, free: 232.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/5.69, allocations: 186.5 kB / 2.516 GB, free: 232.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/5.691, allocations: 0.6148 MB / 2.517 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/5.691, allocations: 65.41 kB / 2.517 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/5.691, allocations: 82.75 kB / 2.517 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/5.693, allocations: 0.8669 MB / 2.518 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/5.693, allocations: 6.359 kB / 2.518 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/5.693, allocations: 32.97 kB / 2.518 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/5.693, allocations: 20.62 kB / 2.518 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/5.695, allocations: 1.059 MB / 2.519 GB, free: 232.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/5.698, allocations: 2.568 MB / 2.521 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/5.7, allocations: 0.834 MB / 2.522 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/5.7, allocations: 272.9 kB / 2.522 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/5.7, allocations: 33.48 kB / 2.522 GB, free: 231.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/5.701, allocations: 426.8 kB / 2.523 GB, free: 231.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.617e-06/5.701, allocations: 2.625 kB / 2.523 GB, free: 231.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001827/5.703, allocations: 0.7111 MB / 2.524 GB, free: 231.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/5.703, allocations: 248.6 kB / 2.524 GB, free: 231.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/5.704, allocations: 0.588 MB / 2.524 GB, free: 231 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/5.704, allocations: 43.17 kB / 2.524 GB, free: 231 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/5.704, allocations: 381.9 kB / 2.525 GB, free: 230.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/5.704, allocations: 246.8 kB / 2.525 GB, free: 230.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/5.704, allocations: 13.53 kB / 2.525 GB, free: 230.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001087/5.705, allocations: 381.3 kB / 2.525 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/5.705, allocations: 206.1 kB / 2.526 GB, free: 230.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/5.706, allocations: 321.2 kB / 2.526 GB, free: 230.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/5.706, allocations: 258.9 kB / 2.526 GB, free: 230.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.706, allocations: 5.047 kB / 2.526 GB, free: 230.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001511/5.708, allocations: 0.7248 MB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/5.708, allocations: 3.906 kB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/5.708, allocations: 0 / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/5.708, allocations: 90.95 kB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/5.709, allocations: 140.2 kB / 2.527 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/5.71, allocations: 1.518 MB / 2.529 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/5.711, allocations: 87.69 kB / 2.529 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/5.711, allocations: 34.56 kB / 2.529 GB, free: 228.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0002178/5.711, allocations: 142.1 kB / 2.529 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/5.711, allocations: 75.5 kB / 2.529 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/5.713, allocations: 1.03 MB / 2.53 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/5.713, allocations: 11.5 kB / 2.53 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/5.713, allocations: 2.469 kB / 2.53 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/5.713, allocations: 7.547 kB / 2.53 GB, free: 228.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/5.716, allocations: 1.932 MB / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/5.716, allocations: 0 / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/5.716, allocations: 155.2 kB / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/5.717, allocations: 87.84 kB / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/5.717, allocations: 28.59 kB / 2.532 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/5.718, allocations: 1.537 MB / 2.534 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.718, allocations: 0 / 2.534 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/5.72, allocations: 0.9093 MB / 2.534 GB, free: 226.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/5.72, allocations: 297.4 kB / 2.535 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/5.72, allocations: 15.91 kB / 2.535 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/5.721, allocations: 70.27 kB / 2.535 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/5.721, allocations: 71.59 kB / 2.535 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/5.721, allocations: 32.72 kB / 2.535 GB, free: 226.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004871/5.721, allocations: 492.6 kB / 2.535 GB, free: 226.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/5.721, allocations: 3.969 kB / 2.535 GB, free: 226.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001038/5.722, allocations: 372.5 kB / 2.536 GB, free: 226.4 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 (93): * Single equations (assignments): 90 * 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.001816/5.724, allocations: 1.04 MB / 2.537 GB, free: 226.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001509/5.726, allocations: 0.7122 MB / 2.537 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/5.726, allocations: 0 / 2.537 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007553/5.727, allocations: 0.4901 MB / 2.538 GB, free: 225.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/5.728, allocations: 235 kB / 2.538 GB, free: 225.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/5.731, allocations: 1.375 MB / 2.539 GB, free: 225.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/5.732, allocations: 1.035 MB / 2.54 GB, free: 224.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008543/5.733, allocations: 271.1 kB / 2.541 GB, free: 224.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/5.733, allocations: 101.5 kB / 2.541 GB, free: 224.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/5.733, allocations: 0 / 2.541 GB, free: 224.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03068/5.764, allocations: 22.4 MB / 2.563 GB, free: 223.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)