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.001417/0.001417, allocations: 106.6 kB / 16.94 MB, free: 6.199 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.001473/0.001473, allocations: 191.6 kB / 17.87 MB, free: 5.316 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.35/1.35, allocations: 222.9 MB / 241.6 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.8103/0.8103, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 59.91 kB / 0.4917 GB, free: 7.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4999/0.5015, allocations: 77.93 MB / 0.5678 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007496/0.509, allocations: 4.923 MB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1976/0.7067, allocations: 150.7 MB / 0.7198 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.7087, allocations: 15.94 kB / 0.7198 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.7097, allocations: 194.1 kB / 0.72 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.7129, allocations: 0.551 MB / 0.7205 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.716, allocations: 0.8459 MB / 0.7213 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002485/0.7184, allocations: 1.425 MB / 0.7227 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.7195, allocations: 0.5989 MB / 0.7233 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.7206, allocations: 0.4906 MB / 0.7238 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.7213, allocations: 0.5211 MB / 0.7243 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.7216, allocations: 120 kB / 0.7244 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.7228, allocations: 459.7 kB / 0.7248 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.7231, allocations: 307 kB / 0.7251 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.7237, allocations: 0.5713 MB / 0.7257 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.7261, allocations: 1.632 MB / 0.7273 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7261, allocations: 0 / 0.7273 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7261, allocations: 0 / 0.7273 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.7261, allocations: 0 / 0.7273 GB, free: 6.977 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.002808/0.7289, allocations: 1.46 MB / 0.7287 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.729, allocations: 12.62 kB / 0.7287 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.73, allocations: 191.3 kB / 0.7289 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7311, allocations: 0.7508 MB / 0.7296 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/0.7312, allocations: 62 kB / 0.7297 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7313, allocations: 88 kB / 0.7298 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.733, allocations: 0.9495 MB / 0.7307 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7331, allocations: 0 / 0.7307 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/0.7332, allocations: 36 kB / 0.7307 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.7332, allocations: 24 kB / 0.7308 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.735, allocations: 1.124 MB / 0.7319 GB, free: 2.152 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.004668/0.7397, allocations: 2.763 MB / 0.7346 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.7414, allocations: 0.911 MB / 0.7355 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.742, allocations: 318.7 kB / 0.7358 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.7421, allocations: 36.67 kB / 0.7358 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7432, allocations: 0.508 MB / 0.7363 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 5.991e-06/0.7432, allocations: 0 / 0.7363 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003446/0.7467, allocations: 1.259 MB / 0.7375 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7468, allocations: 200.9 kB / 0.7377 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.7477, allocations: 0.6449 MB / 0.7383 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.7477, allocations: 41.7 kB / 0.7384 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.7481, allocations: 404.3 kB / 0.7388 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.7483, allocations: 276.1 kB / 0.739 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.7486, allocations: 170.5 kB / 0.7392 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.7488, allocations: 394.7 kB / 0.7396 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.7494, allocations: 277.9 kB / 0.7398 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.75, allocations: 383.9 kB / 0.7402 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.7512, allocations: 0.6368 MB / 0.7408 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.7512, allocations: 3.938 kB / 0.7408 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002022/0.7532, allocations: 0.8838 MB / 0.7417 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.7532, allocations: 7.938 kB / 0.7417 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7533, allocations: 4 kB / 0.7417 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.7539, allocations: 84.89 kB / 0.7418 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.7545, allocations: 171.7 kB / 0.7419 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.7569, allocations: 1.636 MB / 0.7435 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/0.7578, allocations: 99.34 kB / 0.7436 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.7578, allocations: 35.97 kB / 0.7437 GB, free: 5.602 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.0005633/0.7584, allocations: 275.7 kB / 0.7439 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.7586, allocations: 90.95 kB / 0.744 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.7611, allocations: 1.14 MB / 0.7451 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7612, allocations: 8 kB / 0.7451 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7612, allocations: 4 kB / 0.7451 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7612, allocations: 3.984 kB / 0.7451 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/0.7646, allocations: 2.022 MB / 0.7471 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7646, allocations: 0 / 0.7471 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.7652, allocations: 151.8 kB / 0.7473 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.7657, allocations: 72.78 kB / 0.7473 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.7657, allocations: 27.97 kB / 0.7474 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3082/1.074, allocations: 1.655 MB / 0.749 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.074, allocations: 0.5 kB / 0.749 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/1.077, allocations: 1.053 MB / 0.75 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/1.078, allocations: 279.3 kB / 0.7503 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/1.078, allocations: 21.89 kB / 0.7503 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/1.079, allocations: 72.2 kB / 0.7504 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.079, allocations: 84.52 kB / 0.7504 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.079, allocations: 38.83 kB / 0.7505 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009082/1.08, allocations: 461.6 kB / 0.7509 GB, free: 170 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 0.6875 kB / 0.7509 GB, free: 170 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001368/1.082, allocations: 341.4 kB / 0.7512 GB, free: 170 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.001548/1.083, allocations: 0.61 MB / 0.7518 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002986/1.086, allocations: 1.094 MB / 0.7529 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.086, allocations: 0.5625 kB / 0.7529 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.087, allocations: 0.5451 MB / 0.7534 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.089, allocations: 300.6 kB / 0.7537 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/1.093, allocations: 1.755 MB / 0.7554 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/1.094, allocations: 1.038 MB / 0.7565 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/1.094, allocations: 123.9 kB / 0.7566 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/1.094, allocations: 1.281 kB / 0.7566 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.03267/1.127, allocations: 18.97 MB / 0.7751 GB, free: 159.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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)