Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7704/0.7704, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.0009774/0.0009775, allocations: 182.6 kB / 187.3 MB, free: 11.9 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.372/1.372, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009548/0.0009549, allocations: 90.02 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 281.7 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.108e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4851, allocations: 82.74 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.248, allocations: 1.691 GB / 2.455 GB, free: 87.83 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/5.248, allocations: 92.94 kB / 2.455 GB, free: 87.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1304/5.378, allocations: 63.44 MB / 2.517 GB, free: 24.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/5.378, allocations: 0 / 2.517 GB, free: 24.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.221e-05/5.379, allocations: 27.94 kB / 2.517 GB, free: 24.08 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001684/5.38, allocations: 1.055 MB / 2.518 GB, free: 22.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/5.38, allocations: 8.031 kB / 2.518 GB, free: 22.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008294/5.381, allocations: 186.6 kB / 2.518 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/5.382, allocations: 0.6075 MB / 2.519 GB, free: 22.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/5.382, allocations: 58 kB / 2.519 GB, free: 22.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/5.382, allocations: 76 kB / 2.519 GB, free: 22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/5.383, allocations: 0.8248 MB / 2.52 GB, free: 21.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/5.383, allocations: 0 / 2.52 GB, free: 21.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/5.383, allocations: 36 kB / 2.52 GB, free: 21.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/5.383, allocations: 20 kB / 2.52 GB, free: 21.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/5.385, allocations: 1.022 MB / 2.521 GB, free: 20.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/5.388, allocations: 2.422 MB / 2.523 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/5.389, allocations: 0.7712 MB / 2.524 GB, free: 16.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/5.389, allocations: 262.5 kB / 2.524 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.252e-05/5.389, allocations: 24.61 kB / 2.524 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/5.39, allocations: 413.8 kB / 2.525 GB, free: 16.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/5.39, allocations: 0 / 2.525 GB, free: 16.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.00142/5.391, allocations: 0.6678 MB / 2.525 GB, free: 15.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/5.391, allocations: 247.9 kB / 2.526 GB, free: 15.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/5.392, allocations: 0.5737 MB / 2.526 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/5.392, allocations: 37.7 kB / 2.526 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/5.392, allocations: 368.3 kB / 2.527 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/5.392, allocations: 232.7 kB / 2.527 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/5.392, allocations: 8 kB / 2.527 GB, free: 13.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/5.392, allocations: 378.8 kB / 2.527 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/5.393, allocations: 205.5 kB / 2.527 GB, free: 13.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/5.393, allocations: 301.1 kB / 2.528 GB, free: 12.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/5.393, allocations: 246 kB / 2.528 GB, free: 12.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/5.393, allocations: 0 / 2.528 GB, free: 12.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001238/5.395, allocations: 0.6798 MB / 2.529 GB, free: 12.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/5.395, allocations: 11.94 kB / 2.529 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/5.395, allocations: 4 kB / 2.529 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/5.395, allocations: 80.81 kB / 2.529 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/5.396, allocations: 131.8 kB / 2.529 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/5.397, allocations: 1.53 MB / 2.53 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/5.398, allocations: 75.34 kB / 2.53 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/5.398, allocations: 23.98 kB / 2.53 GB, free: 10.02 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.0001569/5.398, allocations: 150.2 kB / 2.53 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/5.398, allocations: 83.02 kB / 2.531 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/5.4, allocations: 0.9262 MB / 2.531 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/5.4, allocations: 12.09 kB / 2.531 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/5.4, allocations: 3.938 kB / 2.531 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/5.4, allocations: 3.984 kB / 2.531 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/5.403, allocations: 1.847 MB / 2.533 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/5.403, allocations: 0 / 2.533 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/5.403, allocations: 143.8 kB / 2.533 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/5.404, allocations: 80.78 kB / 2.534 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/5.404, allocations: 31.92 kB / 2.534 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/5.405, allocations: 1.556 MB / 2.535 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/5.405, allocations: 0 / 2.535 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/5.407, allocations: 0.8533 MB / 2.536 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/5.407, allocations: 279.8 kB / 2.536 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/5.407, allocations: 16 kB / 2.536 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/5.408, allocations: 71.94 kB / 2.536 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.408, allocations: 52.7 kB / 2.536 GB, free: 3.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/5.408, allocations: 35.97 kB / 2.536 GB, free: 3.633 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005282/5.408, allocations: 475.1 kB / 2.537 GB, free: 3.176 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.408, allocations: 0 / 2.537 GB, free: 3.176 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001065/5.409, allocations: 359 kB / 2.537 GB, free: 2.824 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.001792/5.411, allocations: 1.026 MB / 2.538 GB, free: 1.918 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001143/5.412, allocations: 0.6747 MB / 2.539 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/5.412, allocations: 3.938 kB / 2.539 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/5.413, allocations: 459 kB / 2.539 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/5.414, allocations: 240.5 kB / 2.539 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.475/5.889, allocations: 1.303 MB / 2.541 GB, free: 231.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/5.89, allocations: 1.012 MB / 2.542 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001161/5.891, allocations: 253.6 kB / 2.542 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/5.891, allocations: 95.45 kB / 2.542 GB, free: 230.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/5.891, allocations: 0 / 2.542 GB, free: 230.5 MB / 0.698 GB Notification: Performance of Templates: time 0.03902/5.93, allocations: 21.84 MB / 2.563 GB, free: 229.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)