Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 103.9 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.3 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8133/0.8133, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4186, allocations: 78.56 MB / 0.5715 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006561/0.4252, allocations: 4.927 MB / 0.5763 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1996/0.6249, allocations: 150.6 MB / 0.7234 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.6266, allocations: 15.94 kB / 0.7234 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.6275, allocations: 194.2 kB / 0.7236 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.6302, allocations: 0.5602 MB / 0.7242 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.633, allocations: 0.848 MB / 0.725 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.6351, allocations: 1.429 MB / 0.7264 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.6361, allocations: 0.5873 MB / 0.727 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.6369, allocations: 498.3 kB / 0.7274 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.6377, allocations: 0.5266 MB / 0.728 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.6378, allocations: 116 kB / 0.7281 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.639, allocations: 463.7 kB / 0.7285 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.6393, allocations: 311 kB / 0.7288 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.64, allocations: 0.583 MB / 0.7294 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.6421, allocations: 1.628 MB / 0.731 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6422, allocations: 0 / 0.731 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6422, allocations: 0 / 0.731 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.6422, allocations: 0 / 0.731 GB, free: 3.684 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002902/0.6451, allocations: 1.456 MB / 0.7324 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6451, allocations: 12.03 kB / 0.7324 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.6461, allocations: 195.3 kB / 0.7326 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.6473, allocations: 0.7547 MB / 0.7333 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.6474, allocations: 66 kB / 0.7334 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6475, allocations: 80 kB / 0.7335 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.6493, allocations: 0.9457 MB / 0.7344 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6494, allocations: 4 kB / 0.7344 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.6495, allocations: 40 kB / 0.7344 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/0.6495, allocations: 20.05 kB / 0.7345 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.6515, allocations: 1.128 MB / 0.7356 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.6561, allocations: 2.801 MB / 0.7383 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.6579, allocations: 0.9189 MB / 0.7392 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.6585, allocations: 314.7 kB / 0.7395 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-05/0.6586, allocations: 40.59 kB / 0.7395 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6597, allocations: 0.5158 MB / 0.74 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/0.6597, allocations: 0 / 0.74 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003587/0.6633, allocations: 1.251 MB / 0.7413 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.6634, allocations: 192.9 kB / 0.7414 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009349/0.6644, allocations: 0.6487 MB / 0.7421 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.6645, allocations: 45.7 kB / 0.7421 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6649, allocations: 400.5 kB / 0.7425 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.6651, allocations: 272 kB / 0.7428 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.6654, allocations: 174.5 kB / 0.7429 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000262/0.6657, allocations: 386.8 kB / 0.7433 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.6663, allocations: 277.8 kB / 0.7436 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/0.667, allocations: 384 kB / 0.7439 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.6683, allocations: 0.6368 MB / 0.7445 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6683, allocations: 0 / 0.7445 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00212/0.6705, allocations: 0.8838 MB / 0.7454 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6705, allocations: 7.938 kB / 0.7454 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6705, allocations: 4 kB / 0.7454 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.6711, allocations: 84.89 kB / 0.7455 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.6719, allocations: 175.7 kB / 0.7457 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.6743, allocations: 1.64 MB / 0.7473 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.6752, allocations: 91.39 kB / 0.7474 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.6753, allocations: 39.97 kB / 0.7474 GB, free: 2.262 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005308/0.6758, allocations: 276.4 kB / 0.7477 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.676, allocations: 83.16 kB / 0.7477 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.6789, allocations: 1.148 MB / 0.7489 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6789, allocations: 12 kB / 0.7489 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6789, allocations: 0 / 0.7489 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.6789, allocations: 7.969 kB / 0.7489 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3198/0.9987, allocations: 2.01 MB / 0.7508 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.9988, allocations: 1.594 kB / 0.7508 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.9995, allocations: 153.4 kB / 0.751 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/1, allocations: 75.75 kB / 0.7511 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/1, allocations: 31.16 kB / 0.7511 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/1.002, allocations: 1.663 MB / 0.7527 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.002, allocations: 1.812 kB / 0.7527 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/1.005, allocations: 1.049 MB / 0.7537 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/1.005, allocations: 281.8 kB / 0.754 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.006, allocations: 23.69 kB / 0.754 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.006, allocations: 68.98 kB / 0.7541 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.007, allocations: 78.97 kB / 0.7542 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.972e-05/1.007, allocations: 41.28 kB / 0.7542 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008576/1.008, allocations: 460.8 kB / 0.7546 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/1.008, allocations: 0 / 0.7546 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001718/1.009, allocations: 334.8 kB / 0.755 GB, free: 167.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/1.012, allocations: 0.6026 MB / 0.7556 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.016, allocations: 1.094 MB / 0.7566 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.016, allocations: 1.625 kB / 0.7566 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.017, allocations: 0.5453 MB / 0.7572 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/1.019, allocations: 312.7 kB / 0.7575 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/1.022, allocations: 1.754 MB / 0.7592 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/1.023, allocations: 1.033 MB / 0.7602 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.023, allocations: 124.9 kB / 0.7603 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/1.023, allocations: 0.5625 kB / 0.7603 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.02762/1.051, allocations: 18.99 MB / 0.7788 GB, free: 153.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)