Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001025/0.001024, allocations: 175.8 kB / 182.2 MB, free: 9.469 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.473/1.473, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009947/0.0009946, allocations: 95.64 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 276.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.025e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5298/0.5299, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.284/4.814, allocations: 1.69 GB / 2.448 GB, free: 60.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/4.814, allocations: 96.64 kB / 2.448 GB, free: 60.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1223/4.936, allocations: 57.77 MB / 2.504 GB, free: 8.418 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/4.936, allocations: 0 / 2.504 GB, free: 8.418 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.458e-05/4.937, allocations: 24 kB / 2.504 GB, free: 8.395 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002033/4.939, allocations: 1.047 MB / 2.505 GB, free: 7.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/4.939, allocations: 8.031 kB / 2.505 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/4.94, allocations: 186.6 kB / 2.505 GB, free: 7.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/4.941, allocations: 0.6036 MB / 2.506 GB, free: 6.461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/4.941, allocations: 31.94 kB / 2.506 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/4.941, allocations: 44 kB / 2.506 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/4.942, allocations: 0.9679 MB / 2.507 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/4.943, allocations: 0.6997 MB / 2.508 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/4.943, allocations: 4 kB / 2.508 GB, free: 4.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/4.944, allocations: 4 kB / 2.508 GB, free: 4.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/4.944, allocations: 20 kB / 2.508 GB, free: 4.652 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/4.947, allocations: 2.205 MB / 2.51 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/4.948, allocations: 0.7054 MB / 2.51 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/4.948, allocations: 234.4 kB / 2.511 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/4.948, allocations: 32.58 kB / 2.511 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/4.949, allocations: 376.8 kB / 2.511 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.594e-06/4.949, allocations: 0 / 2.511 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001411/4.95, allocations: 0.621 MB / 2.512 GB, free: 376 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/4.95, allocations: 239.9 kB / 2.512 GB, free: 80 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3964/5.347, allocations: 495 kB / 2.512 GB, free: 237.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/5.347, allocations: 26.55 kB / 2.512 GB, free: 237.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/5.347, allocations: 371.8 kB / 2.513 GB, free: 237.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/5.347, allocations: 220.7 kB / 2.513 GB, free: 237.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/5.347, allocations: 0 / 2.513 GB, free: 237.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/5.348, allocations: 380 kB / 2.513 GB, free: 236.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/5.348, allocations: 186.3 kB / 2.513 GB, free: 236.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/5.348, allocations: 276.8 kB / 2.514 GB, free: 236.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/5.349, allocations: 225.8 kB / 2.514 GB, free: 236.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/5.349, allocations: 0 / 2.514 GB, free: 236.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001629/5.35, allocations: 0.6342 MB / 2.515 GB, free: 236.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/5.35, allocations: 6.469 kB / 2.515 GB, free: 236.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/5.35, allocations: 1 kB / 2.515 GB, free: 236.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/5.351, allocations: 79.61 kB / 2.515 GB, free: 236.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/5.352, allocations: 133.7 kB / 2.515 GB, free: 236.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/5.353, allocations: 1.449 MB / 2.516 GB, free: 235.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/5.354, allocations: 58.03 kB / 2.516 GB, free: 235.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/5.354, allocations: 25.92 kB / 2.516 GB, free: 235.4 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: 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 (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.0001622/5.354, allocations: 120.5 kB / 2.516 GB, free: 235.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/5.354, allocations: 73.27 kB / 2.516 GB, free: 235.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/5.356, allocations: 0.8641 MB / 2.517 GB, free: 235.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/5.356, allocations: 11.56 kB / 2.517 GB, free: 235.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/5.356, allocations: 1.828 kB / 2.517 GB, free: 235.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/5.356, allocations: 9.062 kB / 2.517 GB, free: 235.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/5.359, allocations: 1.645 MB / 2.519 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/5.359, allocations: 0 / 2.519 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/5.36, allocations: 140 kB / 2.519 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/5.361, allocations: 79.47 kB / 2.519 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/5.361, allocations: 15.64 kB / 2.519 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/5.362, allocations: 1.479 MB / 2.521 GB, free: 233.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/5.362, allocations: 1.312 kB / 2.521 GB, free: 233.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/5.364, allocations: 0.8015 MB / 2.521 GB, free: 233.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/5.364, allocations: 271 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/5.364, allocations: 7.344 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/5.365, allocations: 51.52 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/5.365, allocations: 57.16 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/5.365, allocations: 30.84 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006935/5.366, allocations: 394.9 kB / 2.522 GB, free: 233.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/5.366, allocations: 0 / 2.522 GB, free: 233.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001798/5.368, allocations: 322.8 kB / 2.522 GB, free: 233.2 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 (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.003153/5.371, allocations: 1.09 MB / 2.524 GB, free: 233 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001452/5.372, allocations: 0.6173 MB / 2.524 GB, free: 232.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/5.372, allocations: 1 kB / 2.524 GB, free: 232.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008125/5.373, allocations: 431.8 kB / 2.525 GB, free: 232.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/5.374, allocations: 223.4 kB / 2.525 GB, free: 232.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/5.378, allocations: 1.247 MB / 2.526 GB, free: 232.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/5.378, allocations: 1.011 MB / 2.527 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007336/5.379, allocations: 256.7 kB / 2.527 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/5.379, allocations: 89.55 kB / 2.527 GB, free: 231.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/5.379, allocations: 3.781 kB / 2.527 GB, free: 231.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02181/5.401, allocations: 15.25 MB / 2.542 GB, free: 230.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)