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.7708/0.7708, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001031/0.001031, allocations: 184 kB / 187.3 MB, free: 11.88 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.543/1.543, 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.0009386/0.0009388, allocations: 96.27 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 275.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.337e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5549, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.178/4.733, allocations: 1.691 GB / 2.455 GB, free: 87.39 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/4.733, allocations: 103.8 kB / 2.455 GB, free: 87.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/4.854, allocations: 59.32 MB / 2.513 GB, free: 27.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/4.854, allocations: 0 / 2.513 GB, free: 27.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.785e-05/4.854, allocations: 24 kB / 2.513 GB, free: 27.75 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.001468/4.856, allocations: 1.066 MB / 2.514 GB, free: 26.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/4.856, allocations: 8.031 kB / 2.514 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/4.857, allocations: 186.5 kB / 2.515 GB, free: 26.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/4.857, allocations: 0.6113 MB / 2.515 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/4.857, allocations: 66 kB / 2.515 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/4.858, allocations: 76 kB / 2.515 GB, free: 25.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/4.859, allocations: 0.8405 MB / 2.516 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/4.859, allocations: 7.938 kB / 2.516 GB, free: 24.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/4.859, allocations: 32 kB / 2.516 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/4.859, allocations: 20 kB / 2.516 GB, free: 24.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/4.86, allocations: 1.023 MB / 2.517 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/4.863, allocations: 2.422 MB / 2.52 GB, free: 21.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/4.864, allocations: 0.7633 MB / 2.52 GB, free: 20.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/4.864, allocations: 263.2 kB / 2.521 GB, free: 20.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/4.864, allocations: 28.73 kB / 2.521 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/4.865, allocations: 413.3 kB / 2.521 GB, free: 19.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/4.865, allocations: 0 / 2.521 GB, free: 19.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001361/4.866, allocations: 0.6926 MB / 2.522 GB, free: 18.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/4.866, allocations: 244.1 kB / 2.522 GB, free: 18.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/4.867, allocations: 0.5738 MB / 2.522 GB, free: 18.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/4.867, allocations: 37.7 kB / 2.522 GB, free: 18.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/4.867, allocations: 372.3 kB / 2.523 GB, free: 17.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/4.867, allocations: 240.5 kB / 2.523 GB, free: 17.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/4.867, allocations: 12 kB / 2.523 GB, free: 17.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/4.867, allocations: 378.8 kB / 2.523 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/4.867, allocations: 205.5 kB / 2.524 GB, free: 16.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/4.868, allocations: 309.9 kB / 2.524 GB, free: 16.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/4.868, allocations: 254 kB / 2.524 GB, free: 16.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/4.868, allocations: 0 / 2.524 GB, free: 16.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001276/4.869, allocations: 0.6991 MB / 2.525 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/4.869, allocations: 4 kB / 2.525 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/4.869, allocations: 7.938 kB / 2.525 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/4.87, allocations: 76.88 kB / 2.525 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/4.871, allocations: 143.8 kB / 2.525 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/4.872, allocations: 1.514 MB / 2.527 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/4.873, allocations: 87.42 kB / 2.527 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/4.873, allocations: 23.98 kB / 2.527 GB, free: 13.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.0001334/4.873, allocations: 144.9 kB / 2.527 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/4.873, allocations: 79.02 kB / 2.527 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/4.875, allocations: 0.9702 MB / 2.528 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/4.875, allocations: 16 kB / 2.528 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/4.875, allocations: 0 / 2.528 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/4.875, allocations: 3.984 kB / 2.528 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/4.877, allocations: 1.871 MB / 2.53 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/4.877, allocations: 0 / 2.53 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/4.878, allocations: 147.8 kB / 2.53 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/4.878, allocations: 88.77 kB / 2.53 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/4.878, allocations: 23.98 kB / 2.53 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/4.88, allocations: 1.532 MB / 2.531 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/4.88, allocations: 0 / 2.531 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/4.881, allocations: 0.8844 MB / 2.532 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/4.881, allocations: 275.8 kB / 2.532 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/4.881, allocations: 16 kB / 2.533 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/4.882, allocations: 68.09 kB / 2.533 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.882, allocations: 64.67 kB / 2.533 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/4.882, allocations: 27.98 kB / 2.533 GB, free: 7.121 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004537/4.883, allocations: 479.1 kB / 2.533 GB, free: 6.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.883, allocations: 3.938 kB / 2.533 GB, free: 6.656 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008908/4.883, allocations: 363.1 kB / 2.533 GB, free: 6.301 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.001499/4.885, allocations: 1.021 MB / 2.534 GB, free: 5.402 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001001/4.886, allocations: 0.6903 MB / 2.535 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/4.886, allocations: 0 / 2.535 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/4.887, allocations: 470.9 kB / 2.536 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009362/4.888, allocations: 244.2 kB / 2.536 GB, free: 3.984 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/4.89, allocations: 1.336 MB / 2.537 GB, free: 2.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/4.891, allocations: 1.027 MB / 2.538 GB, free: 1.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006882/4.891, allocations: 254 kB / 2.538 GB, free: 1.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/4.891, allocations: 103.4 kB / 2.538 GB, free: 1.219 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/4.891, allocations: 0 / 2.538 GB, free: 1.219 MB / 0.698 GB Notification: Performance of Templates: time 0.3581/5.25, allocations: 21.94 MB / 2.56 GB, free: 229.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)