Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.55/1.55, allocations: 297.8 MB / 313.7 MB, free: 60 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009795/0.0009794, allocations: 188.4 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007941/0.0007941, allocations: 98.2 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 15.94 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5576, allocations: 120.3 MB / 1.026 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.663/3.221, allocations: 1.723 GB / 2.749 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/3.221, allocations: 87.95 kB / 2.749 GB, free: 133.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1271/3.348, allocations: 63.76 MB / 2.811 GB, free: 69.78 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.103e-06/3.348, allocations: 0 / 2.811 GB, free: 69.78 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.578e-05/3.348, allocations: 20 kB / 2.811 GB, free: 69.76 MB / 0.9792 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.001882/3.35, allocations: 1.156 MB / 2.813 GB, free: 68.55 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/3.35, allocations: 9.438 kB / 2.813 GB, free: 68.54 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008148/3.351, allocations: 187.5 kB / 2.813 GB, free: 68.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/3.352, allocations: 0.6317 MB / 2.813 GB, free: 67.68 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/3.352, allocations: 58.38 kB / 2.813 GB, free: 67.63 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/3.352, allocations: 80.31 kB / 2.813 GB, free: 67.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/3.353, allocations: 0.8565 MB / 2.814 GB, free: 66.65 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/3.353, allocations: 4.188 kB / 2.814 GB, free: 66.65 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/3.353, allocations: 39.94 kB / 2.814 GB, free: 66.61 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/3.353, allocations: 20 kB / 2.814 GB, free: 66.59 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/3.355, allocations: 1.073 MB / 2.815 GB, free: 65.52 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/3.358, allocations: 2.417 MB / 2.818 GB, free: 63.04 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/3.359, allocations: 0.8124 MB / 2.819 GB, free: 62.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/3.359, allocations: 274.4 kB / 2.819 GB, free: 61.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/3.359, allocations: 32.59 kB / 2.819 GB, free: 61.89 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/3.36, allocations: 429.7 kB / 2.819 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/3.36, allocations: 0 / 2.819 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70): time 0.002336/3.362, allocations: 1.082 MB / 2.82 GB, free: 60.34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/3.362, allocations: 247.8 kB / 2.821 GB, free: 60.05 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/3.363, allocations: 0.6486 MB / 2.821 GB, free: 59.39 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/3.363, allocations: 41.7 kB / 2.821 GB, free: 59.35 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/3.363, allocations: 368.3 kB / 2.822 GB, free: 58.98 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/3.363, allocations: 232.6 kB / 2.822 GB, free: 58.75 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/3.363, allocations: 12 kB / 2.822 GB, free: 58.74 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/3.363, allocations: 374.8 kB / 2.822 GB, free: 58.36 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/3.364, allocations: 225.1 kB / 2.822 GB, free: 58.14 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/3.364, allocations: 319.7 kB / 2.823 GB, free: 57.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007463/3.365, allocations: 0.5304 MB / 2.823 GB, free: 57.26 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/3.365, allocations: 0 / 2.823 GB, free: 57.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001328/3.366, allocations: 0.7081 MB / 2.824 GB, free: 56.54 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/3.366, allocations: 12 kB / 2.824 GB, free: 56.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/3.366, allocations: 4 kB / 2.824 GB, free: 56.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/3.367, allocations: 80.78 kB / 2.824 GB, free: 56.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/3.367, allocations: 139.8 kB / 2.824 GB, free: 56.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/3.369, allocations: 1.538 MB / 2.826 GB, free: 54.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/3.369, allocations: 71.41 kB / 2.826 GB, free: 54.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/3.369, allocations: 25.92 kB / 2.826 GB, free: 54.54 MB / 0.9792 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.0003128/3.37, allocations: 253.7 kB / 2.826 GB, free: 54.28 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/3.37, allocations: 75.16 kB / 2.826 GB, free: 54.21 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/3.372, allocations: 0.9779 MB / 2.827 GB, free: 53.22 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/3.372, allocations: 8 kB / 2.827 GB, free: 53.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/3.372, allocations: 0 / 2.827 GB, free: 53.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/3.372, allocations: 7.922 kB / 2.827 GB, free: 53.21 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/3.374, allocations: 1.907 MB / 2.829 GB, free: 51.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/3.374, allocations: 5.016 kB / 2.829 GB, free: 51.24 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/3.375, allocations: 139.8 kB / 2.829 GB, free: 51.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/3.375, allocations: 84.77 kB / 2.829 GB, free: 51.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/3.375, allocations: 23.92 kB / 2.829 GB, free: 51 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/3.376, allocations: 1.549 MB / 2.831 GB, free: 49.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/3.376, allocations: 3.984 kB / 2.831 GB, free: 49.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/3.378, allocations: 0.9024 MB / 2.832 GB, free: 48.38 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/3.378, allocations: 287.7 kB / 2.832 GB, free: 48.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/3.378, allocations: 15.94 kB / 2.832 GB, free: 48.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/3.379, allocations: 67.95 kB / 2.832 GB, free: 48 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/3.379, allocations: 61.05 kB / 2.832 GB, free: 47.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/3.379, allocations: 30.89 kB / 2.832 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004418/3.379, allocations: 479 kB / 2.832 GB, free: 47.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/3.379, allocations: 3.938 kB / 2.832 GB, free: 47.44 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008872/3.38, allocations: 347.2 kB / 2.833 GB, free: 47.1 MB / 0.9792 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) * 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.00164/3.382, allocations: 1.06 MB / 2.834 GB, free: 46.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001144/3.383, allocations: 0.716 MB / 2.834 GB, free: 45.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/3.383, allocations: 0 / 2.834 GB, free: 45.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/3.384, allocations: 493.2 kB / 2.835 GB, free: 45.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/3.385, allocations: 251.5 kB / 2.835 GB, free: 44.85 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/3.388, allocations: 2.039 MB / 2.837 GB, free: 42.79 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/3.388, allocations: 0.9994 MB / 2.838 GB, free: 41.76 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007267/3.389, allocations: 250.4 kB / 2.838 GB, free: 41.54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/3.389, allocations: 91.39 kB / 2.838 GB, free: 41.45 MB / 0.9792 GB Notification: Performance of SimCode: time 2.4e-07/3.389, allocations: 0 / 2.838 GB, free: 41.45 MB / 0.9792 GB Notification: Performance of Templates: time 0.02378/3.413, allocations: 20.39 MB / 2.858 GB, free: 21.29 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)