Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108.9 kB / 17.03 MB, free: 6.094 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.001569/0.001569, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7058/0.7058, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3514, allocations: 76.14 MB / 0.5575 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005716/0.3571, allocations: 4.808 MB / 0.5622 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1659/0.5231, allocations: 150.6 MB / 0.7093 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.524, allocations: 15.94 kB / 0.7093 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.5247, allocations: 194.2 kB / 0.7095 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5263, allocations: 0.5316 MB / 0.71 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.5283, allocations: 0.8437 MB / 0.7109 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.5298, allocations: 1.374 MB / 0.7122 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.5307, allocations: 0.6025 MB / 0.7128 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.5312, allocations: 482.4 kB / 0.7132 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005507/0.5318, allocations: 0.5017 MB / 0.7137 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.5319, allocations: 116 kB / 0.7138 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.5328, allocations: 483.6 kB / 0.7143 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.5331, allocations: 303 kB / 0.7146 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.5336, allocations: 0.5597 MB / 0.7151 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.5353, allocations: 1.639 MB / 0.7167 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5353, allocations: 4 kB / 0.7167 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.477e-06/0.5353, allocations: 0 / 0.7167 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.5353, allocations: 3.938 kB / 0.7167 GB, free: 0.9766 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002439/0.5378, allocations: 1.414 MB / 0.7181 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5378, allocations: 8.031 kB / 0.7181 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.5388, allocations: 187.4 kB / 0.7183 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.54, allocations: 0.7616 MB / 0.7191 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.5401, allocations: 66 kB / 0.7191 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5402, allocations: 76 kB / 0.7192 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5417, allocations: 0.9184 MB / 0.7201 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5417, allocations: 7.875 kB / 0.7201 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.5418, allocations: 36 kB / 0.7201 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5418, allocations: 20 kB / 0.7202 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.5436, allocations: 1.116 MB / 0.7212 GB, free: 12.24 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.003928/0.5475, allocations: 2.708 MB / 0.7239 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.5491, allocations: 0.887 MB / 0.7248 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.5496, allocations: 298.7 kB / 0.725 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.5497, allocations: 32.59 kB / 0.7251 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008189/0.5505, allocations: 499.1 kB / 0.7255 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.5506, allocations: 0 / 0.7255 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003108/0.5537, allocations: 1.19 MB / 0.7267 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5538, allocations: 192.6 kB / 0.7269 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.5546, allocations: 0.6291 MB / 0.7275 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.5546, allocations: 37.7 kB / 0.7275 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.5549, allocations: 388.5 kB / 0.7279 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.5551, allocations: 256.3 kB / 0.7282 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.5554, allocations: 162.5 kB / 0.7283 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5555, allocations: 382.7 kB / 0.7287 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.5561, allocations: 273.9 kB / 0.7289 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.5567, allocations: 367.1 kB / 0.7293 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.5578, allocations: 0.6073 MB / 0.7299 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5578, allocations: 0 / 0.7299 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001943/0.5598, allocations: 0.8449 MB / 0.7307 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5598, allocations: 4 kB / 0.7307 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5598, allocations: 4 kB / 0.7307 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.5604, allocations: 88.8 kB / 0.7308 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.5611, allocations: 155.7 kB / 0.7309 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.5631, allocations: 1.648 MB / 0.7326 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.5638, allocations: 91.42 kB / 0.7326 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.5639, allocations: 39.97 kB / 0.7327 GB, free: 68 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.0004362/0.5644, allocations: 271.3 kB / 0.7329 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.5645, allocations: 82.97 kB / 0.733 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.5668, allocations: 1.058 MB / 0.7341 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.5668, allocations: 8 kB / 0.7341 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5668, allocations: 3.938 kB / 0.7341 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5669, allocations: 7.922 kB / 0.7341 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.57, allocations: 1.967 MB / 0.736 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.57, allocations: 0 / 0.736 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.5706, allocations: 143.8 kB / 0.7361 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.571, allocations: 68.78 kB / 0.7362 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.5711, allocations: 27.98 kB / 0.7362 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.5729, allocations: 1.666 MB / 0.7378 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5729, allocations: 0 / 0.7378 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.5748, allocations: 0.998 MB / 0.7388 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.5752, allocations: 267.8 kB / 0.7391 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.5753, allocations: 16 kB / 0.7391 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.576, allocations: 63.92 kB / 0.7392 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.5761, allocations: 69.05 kB / 0.7392 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.5762, allocations: 35.97 kB / 0.7393 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005135/0.5767, allocations: 451 kB / 0.7397 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5767, allocations: 0 / 0.7397 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008271/0.5776, allocations: 331.1 kB / 0.74 GB, free: 8.301 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.00131/0.5789, allocations: 0.6055 MB / 0.7406 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.5805, allocations: 0.8273 MB / 0.7414 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5806, allocations: 0 / 0.7414 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.5815, allocations: 0.5238 MB / 0.7419 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.5827, allocations: 307.6 kB / 0.7422 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.5855, allocations: 1.615 MB / 0.7438 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.5861, allocations: 1.02 MB / 0.7448 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007342/0.5868, allocations: 262.5 kB / 0.745 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5871, allocations: 107.3 kB / 0.7451 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.5871, allocations: 0 / 0.7451 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.2377/0.8248, allocations: 15.14 MB / 0.7599 GB, free: 172.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)