Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7991/0.7991, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001131/0.001131, allocations: 184.9 kB / 182.2 MB, free: 9.453 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.367/1.367, 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.0008467/0.0008467, allocations: 88.09 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.001979/0.001978, allocations: 280.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.502e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.021/4.435, allocations: 1.69 GB / 2.448 GB, free: 96.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/4.436, allocations: 103.8 kB / 2.448 GB, free: 96.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1216/4.557, allocations: 58.47 MB / 2.505 GB, free: 37.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.777e-06/4.557, allocations: 0 / 2.505 GB, free: 37.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.997e-05/4.557, allocations: 20 kB / 2.505 GB, free: 37.89 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001996/4.559, allocations: 1.074 MB / 2.506 GB, free: 36.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/4.559, allocations: 8.031 kB / 2.506 GB, free: 36.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/4.56, allocations: 194.5 kB / 2.506 GB, free: 36.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/4.561, allocations: 0.6114 MB / 2.507 GB, free: 35.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/4.561, allocations: 24 kB / 2.507 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/4.561, allocations: 48 kB / 2.507 GB, free: 35.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001166/4.563, allocations: 0.9796 MB / 2.508 GB, free: 34.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/4.564, allocations: 0.7234 MB / 2.508 GB, free: 34.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/4.564, allocations: 0 / 2.508 GB, free: 34.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/4.564, allocations: 0 / 2.508 GB, free: 34.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/4.564, allocations: 20 kB / 2.509 GB, free: 34.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/4.567, allocations: 2.267 MB / 2.511 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/4.567, allocations: 0.718 MB / 2.511 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/4.568, allocations: 243.2 kB / 2.512 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/4.568, allocations: 32.8 kB / 2.512 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/4.568, allocations: 383.8 kB / 2.512 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/4.568, allocations: 0 / 2.512 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001326/4.57, allocations: 0.6536 MB / 2.513 GB, free: 29.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/4.57, allocations: 240.1 kB / 2.513 GB, free: 29.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/4.57, allocations: 0.4906 MB / 2.513 GB, free: 28.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/4.57, allocations: 25.7 kB / 2.513 GB, free: 28.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/4.57, allocations: 384 kB / 2.514 GB, free: 28.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/4.571, allocations: 236.4 kB / 2.514 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/4.571, allocations: 0 / 2.514 GB, free: 28.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/4.571, allocations: 374.8 kB / 2.514 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/4.571, allocations: 189.5 kB / 2.515 GB, free: 27.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/4.571, allocations: 292.4 kB / 2.515 GB, free: 27.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/4.572, allocations: 236.4 kB / 2.515 GB, free: 27.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/4.572, allocations: 0 / 2.515 GB, free: 27.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001196/4.573, allocations: 0.6408 MB / 2.516 GB, free: 26.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/4.573, allocations: 4 kB / 2.516 GB, free: 26.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/4.573, allocations: 7.953 kB / 2.516 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/4.573, allocations: 88.8 kB / 2.516 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/4.574, allocations: 135.8 kB / 2.516 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/4.576, allocations: 1.457 MB / 2.517 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/4.576, allocations: 55.5 kB / 2.517 GB, free: 24.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/4.576, allocations: 31.97 kB / 2.517 GB, free: 24.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001362/4.576, allocations: 116.9 kB / 2.518 GB, free: 24.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/4.576, allocations: 75.16 kB / 2.518 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/4.578, allocations: 0.9105 MB / 2.518 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/4.578, allocations: 8 kB / 2.519 GB, free: 23.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/4.578, allocations: 12 kB / 2.519 GB, free: 23.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/4.578, allocations: 7.969 kB / 2.519 GB, free: 23.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/4.58, allocations: 1.687 MB / 2.52 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/4.58, allocations: 0 / 2.52 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/4.581, allocations: 147.8 kB / 2.52 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/4.581, allocations: 88.7 kB / 2.52 GB, free: 21.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/4.581, allocations: 15.98 kB / 2.52 GB, free: 21.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/4.583, allocations: 1.473 MB / 2.522 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/4.583, allocations: 8.016 kB / 2.522 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/4.584, allocations: 0.8221 MB / 2.523 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/4.584, allocations: 279.7 kB / 2.523 GB, free: 18.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/4.584, allocations: 7.984 kB / 2.523 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/4.585, allocations: 47.95 kB / 2.523 GB, free: 18.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/4.585, allocations: 68.62 kB / 2.523 GB, free: 18.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/4.585, allocations: 27.98 kB / 2.523 GB, free: 18.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003937/4.586, allocations: 398.9 kB / 2.523 GB, free: 18.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.586, allocations: 0 / 2.523 GB, free: 18.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001075/4.587, allocations: 331.1 kB / 2.524 GB, free: 17.84 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 (87): * Single equations (assignments): 84 * 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.001752/4.588, allocations: 1.083 MB / 2.525 GB, free: 16.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001014/4.589, allocations: 0.651 MB / 2.525 GB, free: 16.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/4.589, allocations: 0 / 2.525 GB, free: 16.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/4.59, allocations: 448.8 kB / 2.526 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/4.591, allocations: 215.6 kB / 2.526 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/4.594, allocations: 1.286 MB / 2.527 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/4.594, allocations: 1.019 MB / 2.528 GB, free: 13.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000766/4.595, allocations: 253.8 kB / 2.529 GB, free: 12.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/4.595, allocations: 95.39 kB / 2.529 GB, free: 12.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.554e-06/4.595, allocations: 0 / 2.529 GB, free: 12.81 MB / 0.698 GB Notification: Performance of Templates: time 0.4377/5.033, allocations: 15.49 MB / 2.544 GB, free: 234.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)