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.0007992/0.0007992, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008197/0.0008196, allocations: 182.2 kB / 16.91 MB, free: 6.914 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6781/0.6781, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 495.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 77.54 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005392/0.16, allocations: 4.349 MB / 0.5642 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.472/0.632, allocations: 146.7 MB / 0.7074 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.6334, allocations: 15.88 kB / 0.7074 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.6342, allocations: 142.9 kB / 0.7076 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.6365, allocations: 477.3 kB / 0.708 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.6391, allocations: 0.7192 MB / 0.7087 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.641, allocations: 1.269 MB / 0.71 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009043/0.6419, allocations: 0.547 MB / 0.7105 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.6426, allocations: 338.4 kB / 0.7108 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005256/0.6431, allocations: 389.8 kB / 0.7112 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.6432, allocations: 24 kB / 0.7112 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.644, allocations: 375.6 kB / 0.7116 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.6442, allocations: 187.1 kB / 0.7118 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.6447, allocations: 462.9 kB / 0.7122 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.6462, allocations: 1.464 MB / 0.7136 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6462, allocations: 0 / 0.7136 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.697e-06/0.6462, allocations: 0 / 0.7136 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6462, allocations: 3.938 kB / 0.7136 GB, free: 9.266 MB / 0.5294 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.002135/0.6483, allocations: 1.205 MB / 0.7148 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6484, allocations: 8.031 kB / 0.7148 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008891/0.6493, allocations: 195.4 kB / 0.715 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009713/0.6503, allocations: 0.7384 MB / 0.7157 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.6504, allocations: 58 kB / 0.7158 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.6505, allocations: 80 kB / 0.7159 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.652, allocations: 0.9144 MB / 0.7168 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.652, allocations: 4 kB / 0.7168 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.6521, allocations: 40 kB / 0.7168 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.6521, allocations: 20 kB / 0.7168 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.6538, allocations: 1.108 MB / 0.7179 GB, free: 4.773 MB / 0.5294 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.003839/0.6577, allocations: 2.703 MB / 0.7205 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6591, allocations: 0.8756 MB / 0.7214 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.6596, allocations: 309.7 kB / 0.7217 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.6597, allocations: 32.61 kB / 0.7217 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008439/0.6606, allocations: 491.1 kB / 0.7222 GB, free: 220 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=79): time 2.394e-06/0.6606, allocations: 0 / 0.7222 GB, free: 220 kB / 0.5294 GB Notification: Performance of matching and sorting (n=79): time 0.003063/0.6637, allocations: 1.205 MB / 0.7234 GB, free: 14.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.6638, allocations: 188.6 kB / 0.7235 GB, free: 14.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.6646, allocations: 0.6253 MB / 0.7242 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.6646, allocations: 41.7 kB / 0.7242 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.665, allocations: 392.3 kB / 0.7246 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.6652, allocations: 252.4 kB / 0.7248 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6653, allocations: 73.67 kB / 0.7249 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6655, allocations: 386.7 kB / 0.7252 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.666, allocations: 265.9 kB / 0.7255 GB, free: 12.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.6666, allocations: 371 kB / 0.7259 GB, free: 12.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6677, allocations: 0.6033 MB / 0.7264 GB, free: 11.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6677, allocations: 7.938 kB / 0.7265 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001796/0.6695, allocations: 0.841 MB / 0.7273 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6695, allocations: 8 kB / 0.7273 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6696, allocations: 0 / 0.7273 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.6701, allocations: 80.88 kB / 0.7274 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.6708, allocations: 169.8 kB / 0.7275 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.6727, allocations: 1.516 MB / 0.729 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.6734, allocations: 112.9 kB / 0.7291 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.55e-05/0.6735, allocations: 35.97 kB / 0.7291 GB, free: 8.801 MB / 0.545 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.0004018/0.6739, allocations: 267.4 kB / 0.7294 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6741, allocations: 83.06 kB / 0.7295 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.6763, allocations: 1.058 MB / 0.7305 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.6764, allocations: 12 kB / 0.7305 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6764, allocations: 3.938 kB / 0.7305 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6764, allocations: 11.91 kB / 0.7305 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.6794, allocations: 1.899 MB / 0.7324 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6794, allocations: 3.938 kB / 0.7324 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.68, allocations: 143.8 kB / 0.7325 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.6805, allocations: 92.7 kB / 0.7326 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.6806, allocations: 23.98 kB / 0.7326 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.6824, allocations: 1.548 MB / 0.7342 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6824, allocations: 0 / 0.7342 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6844, allocations: 0.9921 MB / 0.7351 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.6849, allocations: 283.6 kB / 0.7354 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.685, allocations: 20 kB / 0.7354 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.6857, allocations: 79.92 kB / 0.7355 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.6858, allocations: 72.84 kB / 0.7356 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.6859, allocations: 35.97 kB / 0.7356 GB, free: 1.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005761/0.6865, allocations: 451 kB / 0.736 GB, free: 1.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6865, allocations: 0 / 0.736 GB, free: 1.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009572/0.6875, allocations: 327.2 kB / 0.7363 GB, free: 1.176 MB / 0.545 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.001364/0.6888, allocations: 0.597 MB / 0.7369 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.6905, allocations: 0.828 MB / 0.7377 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6905, allocations: 0 / 0.7377 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.6914, allocations: 0.5197 MB / 0.7382 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6927, allocations: 266.2 kB / 0.7385 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.6959, allocations: 2.045 MB / 0.7405 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008555/0.6968, allocations: 1.02 MB / 0.7415 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008546/0.6977, allocations: 258.6 kB / 0.7417 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.698, allocations: 103.4 kB / 0.7418 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/0.698, allocations: 0 / 0.7418 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.02738/0.7254, allocations: 14.21 MB / 0.7557 GB, free: 13.63 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)