Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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) 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.199/2.199, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 185.2 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.395/2.395, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009552, allocations: 95.66 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005126, allocations: 12.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2092, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.236/7.445, allocations: 2.189 GB / 3.089 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/7.445, allocations: 103.2 kB / 3.089 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2243/7.67, allocations: 58.21 MB / 3.146 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.875e-06/7.67, allocations: 0 / 3.146 GB, free: 242.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00011/7.67, allocations: 23.19 kB / 3.146 GB, free: 242.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003178/7.673, allocations: 1.126 MB / 3.147 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/7.673, allocations: 7.812 kB / 3.147 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/7.675, allocations: 188.8 kB / 3.147 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/7.676, allocations: 0.606 MB / 3.148 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/7.676, allocations: 56.75 kB / 3.148 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/7.677, allocations: 72.56 kB / 3.148 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/7.679, allocations: 0.8253 MB / 3.149 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/7.679, allocations: 8.078 kB / 3.149 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/7.679, allocations: 37.62 kB / 3.149 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/7.679, allocations: 15.62 kB / 3.149 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/7.682, allocations: 1.049 MB / 3.15 GB, free: 241.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/7.688, allocations: 2.336 MB / 3.152 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/7.69, allocations: 0.7729 MB / 3.153 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/7.691, allocations: 275.4 kB / 3.153 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/7.691, allocations: 31.23 kB / 3.153 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/7.692, allocations: 421 kB / 3.154 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.968e-06/7.692, allocations: 0 / 3.154 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.004978/7.697, allocations: 1.064 MB / 3.155 GB, free: 240.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/7.698, allocations: 242.5 kB / 3.155 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/7.699, allocations: 0.6244 MB / 3.155 GB, free: 240 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/7.699, allocations: 42.05 kB / 3.155 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/7.7, allocations: 358.9 kB / 3.156 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/7.7, allocations: 235.3 kB / 3.156 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/7.7, allocations: 11 kB / 3.156 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00014/7.7, allocations: 378 kB / 3.156 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/7.701, allocations: 215.7 kB / 3.157 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/7.702, allocations: 317.1 kB / 3.157 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/7.702, allocations: 265.4 kB / 3.157 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/7.702, allocations: 0 / 3.157 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002851/7.705, allocations: 0.7023 MB / 3.158 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/7.705, allocations: 7.875 kB / 3.158 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/7.705, allocations: 4.062 kB / 3.158 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/7.706, allocations: 78.39 kB / 3.158 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/7.708, allocations: 136.3 kB / 3.158 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/7.71, allocations: 1.524 MB / 3.16 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/7.711, allocations: 78.56 kB / 3.16 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/7.712, allocations: 30.52 kB / 3.16 GB, free: 237.7 MB / 0.8855 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.0007171/7.712, allocations: 247.8 kB / 3.16 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/7.713, allocations: 74.25 kB / 3.16 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/7.716, allocations: 0.974 MB / 3.161 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/7.716, allocations: 15.41 kB / 3.161 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/7.716, allocations: 0 / 3.161 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/7.716, allocations: 3.656 kB / 3.161 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/7.722, allocations: 1.844 MB / 3.163 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/7.722, allocations: 0 / 3.163 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/7.723, allocations: 135.5 kB / 3.163 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008348/7.724, allocations: 92.59 kB / 3.163 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/7.724, allocations: 19.08 kB / 3.163 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/7.726, allocations: 1.547 MB / 3.164 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/7.726, allocations: 4 kB / 3.164 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/7.729, allocations: 0.8943 MB / 3.165 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007615/7.73, allocations: 275.7 kB / 3.166 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/7.73, allocations: 14.59 kB / 3.166 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/7.731, allocations: 64.62 kB / 3.166 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/7.732, allocations: 65.97 kB / 3.166 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/7.732, allocations: 30.14 kB / 3.166 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001043/7.733, allocations: 466.2 kB / 3.166 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.4e-07/7.733, allocations: 0 / 3.166 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002005/7.735, allocations: 319.8 kB / 3.167 GB, free: 235.2 MB / 0.8855 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.002875/7.738, allocations: 1.025 MB / 3.168 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002696/7.741, allocations: 0.7089 MB / 3.168 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/7.741, allocations: 0 / 3.168 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/7.742, allocations: 490.9 kB / 3.169 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/7.745, allocations: 240 kB / 3.169 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/7.752, allocations: 1.997 MB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/7.752, allocations: 0.9938 MB / 3.172 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001519/7.754, allocations: 247.4 kB / 3.172 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/7.754, allocations: 93.62 kB / 3.172 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/7.754, allocations: 0 / 3.172 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.04852/7.803, allocations: 19.7 MB / 3.191 GB, free: 222.9 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)