Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 115.4 kB / 17.04 MB, free: 5.812 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.0009948/0.0009949, allocations: 195 kB / 17.98 MB, free: 5.027 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 115.1 MB / 407 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3647, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005505/0.3702, allocations: 4.774 MB / 0.5622 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.162/0.5322, allocations: 150.6 MB / 0.7093 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.5336, allocations: 15.94 kB / 0.7093 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.5342, allocations: 190.2 kB / 0.7095 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.5361, allocations: 0.5272 MB / 0.71 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.5382, allocations: 0.8362 MB / 0.7108 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.5396, allocations: 1.366 MB / 0.7122 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007855/0.5404, allocations: 0.5791 MB / 0.7127 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.5409, allocations: 482.3 kB / 0.7132 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.5414, allocations: 493.8 kB / 0.7136 GB, free: 4.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5416, allocations: 120 kB / 0.7138 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008674/0.5425, allocations: 483.6 kB / 0.7142 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.5427, allocations: 291.1 kB / 0.7145 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.5432, allocations: 0.5402 MB / 0.715 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.5447, allocations: 1.604 MB / 0.7166 GB, free: 1.145 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5448, allocations: 0 / 0.7166 GB, free: 1.145 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5448, allocations: 7.922 kB / 0.7166 GB, free: 1.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5448, allocations: 0 / 0.7166 GB, free: 1.137 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.0023/0.5471, allocations: 1.411 MB / 0.718 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5471, allocations: 8.031 kB / 0.718 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.548, allocations: 187.4 kB / 0.7182 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5491, allocations: 0.7539 MB / 0.7189 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.5492, allocations: 69.98 kB / 0.719 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.5493, allocations: 80 kB / 0.719 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5507, allocations: 0.9028 MB / 0.7199 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5507, allocations: 3.938 kB / 0.7199 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.5508, allocations: 32 kB / 0.72 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.5508, allocations: 20 kB / 0.72 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.5525, allocations: 1.097 MB / 0.7211 GB, free: 12.45 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.003619/0.5561, allocations: 2.655 MB / 0.7236 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.5575, allocations: 0.8657 MB / 0.7245 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.558, allocations: 294.7 kB / 0.7248 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-05/0.5581, allocations: 40.59 kB / 0.7248 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007616/0.5589, allocations: 491 kB / 0.7253 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.5589, allocations: 0 / 0.7253 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002938/0.5619, allocations: 1.178 MB / 0.7264 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.562, allocations: 192.6 kB / 0.7266 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.5627, allocations: 0.6214 MB / 0.7272 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.5627, allocations: 45.7 kB / 0.7273 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.563, allocations: 388.4 kB / 0.7276 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5632, allocations: 260.3 kB / 0.7279 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.5634, allocations: 158.5 kB / 0.728 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5636, allocations: 386.7 kB / 0.7284 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.5641, allocations: 261.9 kB / 0.7287 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.5646, allocations: 371 kB / 0.729 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5657, allocations: 0.5918 MB / 0.7296 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5657, allocations: 4 kB / 0.7296 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001745/0.5675, allocations: 0.837 MB / 0.7304 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5675, allocations: 9.875 kB / 0.7304 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5675, allocations: 0 / 0.7304 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/0.5681, allocations: 84.86 kB / 0.7305 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.5687, allocations: 163.7 kB / 0.7307 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.5706, allocations: 1.634 MB / 0.7322 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.5712, allocations: 87.36 kB / 0.7323 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.5713, allocations: 35.97 kB / 0.7324 GB, free: 412 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003681/0.5717, allocations: 268.1 kB / 0.7326 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5718, allocations: 86.91 kB / 0.7327 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.574, allocations: 1.05 MB / 0.7337 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.574, allocations: 8 kB / 0.7337 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.574, allocations: 0 / 0.7337 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.574, allocations: 7.922 kB / 0.7337 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.5769, allocations: 1.909 MB / 0.7356 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5769, allocations: 0 / 0.7356 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.5774, allocations: 143.8 kB / 0.7357 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.5778, allocations: 76.72 kB / 0.7358 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.5779, allocations: 23.98 kB / 0.7358 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.5796, allocations: 1.658 MB / 0.7375 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5796, allocations: 0 / 0.7375 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.5814, allocations: 0.9901 MB / 0.7384 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.5818, allocations: 267.8 kB / 0.7387 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5819, allocations: 20 kB / 0.7387 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.5825, allocations: 67.92 kB / 0.7388 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.5826, allocations: 64.91 kB / 0.7388 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.5827, allocations: 31.98 kB / 0.7389 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005014/0.5832, allocations: 451 kB / 0.7393 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5832, allocations: 0 / 0.7393 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007983/0.584, allocations: 319.2 kB / 0.7396 GB, free: 8.73 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001279/0.5853, allocations: 0.6135 MB / 0.7402 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.5868, allocations: 0.8158 MB / 0.741 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5868, allocations: 4 kB / 0.741 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.5876, allocations: 0.5119 MB / 0.7415 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5887, allocations: 305.5 kB / 0.7418 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.5913, allocations: 1.606 MB / 0.7434 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.5918, allocations: 1.016 MB / 0.7443 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006618/0.5925, allocations: 262.5 kB / 0.7446 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.5928, allocations: 107.4 kB / 0.7447 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.5928, allocations: 0 / 0.7447 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.3084/0.9012, allocations: 14.92 MB / 0.7593 GB, free: 172.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)