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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 111 kB / 17.33 MB, free: 5.043 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.001565/0.001565, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.371/1.371, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8126/0.8126, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64.14 kB / 0.5911 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.143, allocations: 83.26 MB / 0.6725 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007343/0.1503, allocations: 4.963 MB / 0.6773 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4745/0.6248, allocations: 151.1 MB / 0.8249 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007576/0.6256, allocations: 18.47 kB / 0.8249 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007065/0.6263, allocations: 206.1 kB / 0.8251 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.6281, allocations: 0.5514 MB / 0.8256 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.6301, allocations: 0.8826 MB / 0.8265 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.6316, allocations: 1.433 MB / 0.8279 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.6323, allocations: 423.7 kB / 0.8283 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.6331, allocations: 0.5061 MB / 0.8288 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.6338, allocations: 0.5248 MB / 0.8293 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.634, allocations: 116.8 kB / 0.8294 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.6349, allocations: 490.9 kB / 0.8299 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.6352, allocations: 301 kB / 0.8302 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.6359, allocations: 0.5769 MB / 0.8307 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.638, allocations: 1.671 MB / 0.8324 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.638, allocations: 0 / 0.8324 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.638, allocations: 2.25 kB / 0.8324 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.521e-05/0.6381, allocations: 4 kB / 0.8324 GB, free: 1.391 MB / 0.5919 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.002973/0.641, allocations: 1.505 MB / 0.8338 GB, free: 200 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6411, allocations: 10.31 kB / 0.8339 GB, free: 200 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/0.642, allocations: 197.7 kB / 0.834 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6433, allocations: 0.7808 MB / 0.8348 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.6434, allocations: 65.28 kB / 0.8349 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6435, allocations: 81.56 kB / 0.8349 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6451, allocations: 0.9491 MB / 0.8359 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6451, allocations: 0 / 0.8359 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.6452, allocations: 42.55 kB / 0.8359 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6453, allocations: 19.94 kB / 0.8359 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.647, allocations: 1.125 MB / 0.837 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.6512, allocations: 2.79 MB / 0.8398 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.6527, allocations: 0.8622 MB / 0.8406 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.6532, allocations: 286.8 kB / 0.8409 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-05/0.6532, allocations: 35.98 kB / 0.8409 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008596/0.6541, allocations: 0.5194 MB / 0.8414 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.424e-06/0.6541, allocations: 0 / 0.8414 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.003183/0.6573, allocations: 1.259 MB / 0.8426 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.6574, allocations: 195.4 kB / 0.8428 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/0.6582, allocations: 0.6361 MB / 0.8435 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.6583, allocations: 42.8 kB / 0.8435 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.6586, allocations: 413.4 kB / 0.8439 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.6589, allocations: 288.8 kB / 0.8442 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.6592, allocations: 177.9 kB / 0.8443 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.6594, allocations: 394.7 kB / 0.8447 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.6599, allocations: 277.8 kB / 0.845 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.6605, allocations: 380.2 kB / 0.8453 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6616, allocations: 0.6344 MB / 0.846 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6616, allocations: 0 / 0.846 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001995/0.6636, allocations: 0.889 MB / 0.8468 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6636, allocations: 8.781 kB / 0.8468 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6637, allocations: 2.906 kB / 0.8468 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.6642, allocations: 87.3 kB / 0.8469 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.6649, allocations: 179.2 kB / 0.8471 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.667, allocations: 1.63 MB / 0.8487 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.6678, allocations: 92.44 kB / 0.8488 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.6679, allocations: 41.28 kB / 0.8488 GB, free: 5.629 MB / 0.6075 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.0004696/0.6684, allocations: 269 kB / 0.8491 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.6686, allocations: 94.31 kB / 0.8492 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.671, allocations: 1.136 MB / 0.8503 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.671, allocations: 16.47 kB / 0.8503 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.671, allocations: 0 / 0.8503 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.671, allocations: 3.984 kB / 0.8503 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.6745, allocations: 2.026 MB / 0.8523 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6745, allocations: 0 / 0.8523 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/0.6751, allocations: 155.8 kB / 0.8524 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.6756, allocations: 72.73 kB / 0.8525 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.6756, allocations: 31.97 kB / 0.8525 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6777, allocations: 1.662 MB / 0.8541 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6777, allocations: 0 / 0.8541 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.6801, allocations: 1.049 MB / 0.8552 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.6806, allocations: 284.1 kB / 0.8554 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.6808, allocations: 27.98 kB / 0.8555 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.6815, allocations: 63.94 kB / 0.8555 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6816, allocations: 80.88 kB / 0.8556 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.6817, allocations: 35.98 kB / 0.8556 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006692/0.6824, allocations: 459 kB / 0.8561 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6824, allocations: 0 / 0.8561 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001019/0.6834, allocations: 339.2 kB / 0.8564 GB, free: 14.73 MB / 0.6231 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.001918/0.6853, allocations: 0.6142 MB / 0.857 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.6873, allocations: 0.8392 MB / 0.8578 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6873, allocations: 0 / 0.8578 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6883, allocations: 0.5158 MB / 0.8583 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.6897, allocations: 321.1 kB / 0.8586 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.693, allocations: 1.721 MB / 0.8603 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.6937, allocations: 1.032 MB / 0.8613 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008503/0.6945, allocations: 271 kB / 0.8616 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.6948, allocations: 107.4 kB / 0.8617 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.6948, allocations: 0 / 0.8617 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of Templates: time 0.02884/0.7237, allocations: 15.98 MB / 0.8773 GB, free: 9.625 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660] (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) [Timeout 480]