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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8096/0.8096, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001136, allocations: 174.1 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 87.44 kB / 0.4945 GB, free: 8.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001706/0.001706, allocations: 267.8 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005211, allocations: 16 kB / 0.662 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4003, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.807/5.207, allocations: 2.042 GB / 2.781 GB, free: 167.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/5.207, allocations: 88.8 kB / 2.781 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/5.34, allocations: 63.48 MB / 2.843 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.878e-06/5.34, allocations: 0 / 2.843 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001092/5.34, allocations: 31.88 kB / 2.843 GB, free: 103.9 MB / 0.6667 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.00252/5.342, allocations: 1.124 MB / 2.844 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/5.342, allocations: 8.031 kB / 2.844 GB, free: 102.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/5.343, allocations: 187.5 kB / 2.844 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/5.345, allocations: 0.6317 MB / 2.845 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/5.345, allocations: 58.38 kB / 2.845 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/5.345, allocations: 72.38 kB / 2.845 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/5.346, allocations: 0.8486 MB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/5.346, allocations: 4.125 kB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/5.346, allocations: 39.94 kB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/5.346, allocations: 20 kB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/5.348, allocations: 1.054 MB / 2.847 GB, free: 99.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/5.351, allocations: 2.383 MB / 2.849 GB, free: 97.26 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/5.352, allocations: 0.7272 MB / 2.85 GB, free: 96.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/5.353, allocations: 274.4 kB / 2.85 GB, free: 96.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.297e-05/5.353, allocations: 40.52 kB / 2.85 GB, free: 96.21 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006326/5.354, allocations: 429.7 kB / 2.851 GB, free: 95.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.407e-06/5.354, allocations: 0 / 2.851 GB, free: 95.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.002585/5.356, allocations: 1.089 MB / 2.852 GB, free: 94.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/5.356, allocations: 251.8 kB / 2.852 GB, free: 94.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/5.357, allocations: 0.6368 MB / 2.853 GB, free: 93.71 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/5.357, allocations: 41.7 kB / 2.853 GB, free: 93.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/5.358, allocations: 368.2 kB / 2.853 GB, free: 93.29 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/5.358, allocations: 228.6 kB / 2.853 GB, free: 93.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/5.358, allocations: 16 kB / 2.853 GB, free: 93.05 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000107/5.358, allocations: 378.7 kB / 2.854 GB, free: 92.67 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/5.358, allocations: 217.2 kB / 2.854 GB, free: 92.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/5.359, allocations: 331.7 kB / 2.854 GB, free: 92.11 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008085/5.359, allocations: 0.5343 MB / 2.855 GB, free: 91.56 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.359, allocations: 0 / 2.855 GB, free: 91.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001454/5.361, allocations: 0.7198 MB / 2.856 GB, free: 90.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/5.361, allocations: 9.312 kB / 2.856 GB, free: 90.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/5.361, allocations: 0 / 2.856 GB, free: 90.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/5.362, allocations: 84.77 kB / 2.856 GB, free: 90.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/5.362, allocations: 135.8 kB / 2.856 GB, free: 90.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/5.364, allocations: 1.54 MB / 2.857 GB, free: 88.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/5.364, allocations: 79.47 kB / 2.857 GB, free: 88.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/5.364, allocations: 23.98 kB / 2.857 GB, free: 88.82 MB / 0.6667 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.000432/5.365, allocations: 245.7 kB / 2.858 GB, free: 88.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/5.365, allocations: 83 kB / 2.858 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/5.367, allocations: 0.9937 MB / 2.859 GB, free: 87.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/5.367, allocations: 8 kB / 2.859 GB, free: 87.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/5.367, allocations: 0 / 2.859 GB, free: 87.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/5.367, allocations: 3.984 kB / 2.859 GB, free: 87.47 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/5.368, allocations: 0.8528 MB / 2.86 GB, free: 86.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/5.368, allocations: 0 / 2.86 GB, free: 86.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/5.368, allocations: 139.8 kB / 2.86 GB, free: 86.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/5.369, allocations: 84.77 kB / 2.86 GB, free: 86.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/5.369, allocations: 23.98 kB / 2.86 GB, free: 86.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.37, allocations: 1.563 MB / 2.861 GB, free: 84.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/5.37, allocations: 3.938 kB / 2.861 GB, free: 84.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/5.372, allocations: 0.8459 MB / 2.862 GB, free: 83.74 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/5.372, allocations: 283.7 kB / 2.862 GB, free: 83.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/5.372, allocations: 19.98 kB / 2.862 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/5.373, allocations: 63.95 kB / 2.862 GB, free: 83.36 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/5.373, allocations: 64.84 kB / 2.863 GB, free: 83.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/5.373, allocations: 27.98 kB / 2.863 GB, free: 83.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005501/5.374, allocations: 475 kB / 2.863 GB, free: 82.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.01e-07/5.374, allocations: 0 / 2.863 GB, free: 82.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000988/5.375, allocations: 323.3 kB / 2.863 GB, free: 82.5 MB / 0.6667 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.001871/5.376, allocations: 1.014 MB / 2.864 GB, free: 81.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001346/5.378, allocations: 0.724 MB / 2.865 GB, free: 80.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/5.378, allocations: 0 / 2.865 GB, free: 80.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/5.378, allocations: 496.2 kB / 2.865 GB, free: 80.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/5.38, allocations: 247.2 kB / 2.866 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/5.383, allocations: 2.041 MB / 2.868 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/5.383, allocations: 0.9877 MB / 2.869 GB, free: 77.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007881/5.384, allocations: 257.7 kB / 2.869 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/5.384, allocations: 95.38 kB / 2.869 GB, free: 76.69 MB / 0.6667 GB Notification: Performance of SimCode: time 4.81e-07/5.385, allocations: 0 / 2.869 GB, free: 76.69 MB / 0.6667 GB Notification: Performance of Templates: time 0.02917/5.414, allocations: 20.14 MB / 2.889 GB, free: 56.63 MB / 0.6667 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)