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.001078/0.001078, allocations: 107 kB / 17.03 MB, free: 5.699 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.001335/0.001336, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 76.14 MB / 0.5576 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00617/0.3692, allocations: 4.922 MB / 0.5624 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1485/0.5177, allocations: 150.6 MB / 0.7095 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009816/0.5187, allocations: 19.88 kB / 0.7095 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.5193, allocations: 186.2 kB / 0.7097 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.5211, allocations: 0.5543 MB / 0.7102 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.5231, allocations: 0.856 MB / 0.7111 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.5245, allocations: 1.433 MB / 0.7125 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007795/0.5252, allocations: 0.5912 MB / 0.713 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.5258, allocations: 0.4983 MB / 0.7135 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.5264, allocations: 0.5173 MB / 0.714 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.5265, allocations: 124 kB / 0.7141 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.5273, allocations: 487.6 kB / 0.7146 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.5276, allocations: 307 kB / 0.7149 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.5281, allocations: 0.5752 MB / 0.7155 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.5296, allocations: 1.663 MB / 0.7171 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5296, allocations: 0 / 0.7171 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5296, allocations: 0 / 0.7171 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.5297, allocations: 0 / 0.7171 GB, free: 0.7891 MB / 0.545 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.002372/0.532, allocations: 1.468 MB / 0.7185 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5321, allocations: 12.03 kB / 0.7185 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.533, allocations: 179.4 kB / 0.7187 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5341, allocations: 0.778 MB / 0.7195 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.5342, allocations: 62 kB / 0.7195 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5343, allocations: 88 kB / 0.7196 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5358, allocations: 0.9534 MB / 0.7205 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5358, allocations: 3.984 kB / 0.7205 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.5359, allocations: 36 kB / 0.7206 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5359, allocations: 20 kB / 0.7206 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5376, allocations: 1.128 MB / 0.7217 GB, free: 11.94 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.5415, allocations: 2.737 MB / 0.7244 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.5429, allocations: 0.9064 MB / 0.7253 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.5435, allocations: 325.6 kB / 0.7256 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.5436, allocations: 32.69 kB / 0.7256 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008199/0.5444, allocations: 0.5166 MB / 0.7261 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.064e-06/0.5444, allocations: 0 / 0.7261 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003176/0.5476, allocations: 1.263 MB / 0.7273 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.5477, allocations: 192.9 kB / 0.7275 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.5485, allocations: 0.641 MB / 0.7281 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.5486, allocations: 53.58 kB / 0.7282 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.5489, allocations: 408.3 kB / 0.7286 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.5491, allocations: 268.1 kB / 0.7288 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.5494, allocations: 174.5 kB / 0.729 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5495, allocations: 386.8 kB / 0.7294 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.5501, allocations: 281.8 kB / 0.7296 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.5507, allocations: 380 kB / 0.73 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5518, allocations: 0.6368 MB / 0.7306 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5518, allocations: 0 / 0.7306 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00195/0.5537, allocations: 0.8839 MB / 0.7315 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5538, allocations: 13.81 kB / 0.7315 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5538, allocations: 0 / 0.7315 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.5544, allocations: 84.84 kB / 0.7316 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.5551, allocations: 171.8 kB / 0.7317 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.5571, allocations: 1.627 MB / 0.7333 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.5579, allocations: 111.2 kB / 0.7334 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.558, allocations: 39.97 kB / 0.7335 GB, free: 15.41 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.0004505/0.5584, allocations: 267.8 kB / 0.7337 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.5586, allocations: 86.97 kB / 0.7338 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.561, allocations: 1.128 MB / 0.7349 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.561, allocations: 16 kB / 0.7349 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.561, allocations: 3.984 kB / 0.7349 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.561, allocations: 3.984 kB / 0.7349 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.5643, allocations: 2.026 MB / 0.7369 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5644, allocations: 0 / 0.7369 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.565, allocations: 151.8 kB / 0.7371 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.5654, allocations: 72.78 kB / 0.7371 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.5655, allocations: 27.98 kB / 0.7372 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.5675, allocations: 1.662 MB / 0.7388 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5675, allocations: 3.984 kB / 0.7388 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.5697, allocations: 1.053 MB / 0.7398 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.5702, allocations: 287.6 kB / 0.7401 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5704, allocations: 20 kB / 0.7401 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.571, allocations: 67.92 kB / 0.7402 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.5712, allocations: 80.89 kB / 0.7403 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.5713, allocations: 40.11 kB / 0.7403 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000731/0.5721, allocations: 463 kB / 0.7407 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5721, allocations: 0 / 0.7407 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001349/0.5734, allocations: 331.3 kB / 0.741 GB, free: 7.387 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.001871/0.5753, allocations: 0.6051 MB / 0.7416 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.5778, allocations: 0.8702 MB / 0.7425 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.5779, allocations: 0 / 0.7425 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5789, allocations: 0.5434 MB / 0.743 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.5803, allocations: 309.5 kB / 0.7433 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.5835, allocations: 1.689 MB / 0.745 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.5843, allocations: 1.044 MB / 0.746 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009354/0.5853, allocations: 263 kB / 0.7462 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.5856, allocations: 111.4 kB / 0.7463 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.5856, allocations: 4 kB / 0.7463 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.2795/0.8651, allocations: 15.6 MB / 0.7616 GB, free: 171.6 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)