Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007146/0.007146, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001354/0.001354, allocations: 192 kB / 16.67 MB, free: 6.379 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 282.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 103.8 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2342, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007041/0.2413, allocations: 4.308 MB / 0.7706 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7107/0.952, allocations: 150.6 MB / 0.9176 GB, free: 7.723 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.9529, allocations: 11.94 kB / 0.9176 GB, free: 7.711 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.9536, allocations: 181.5 kB / 0.9178 GB, free: 7.535 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.9552, allocations: 0.4951 MB / 0.9183 GB, free: 7.059 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.9572, allocations: 0.8334 MB / 0.9191 GB, free: 6.254 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.9584, allocations: 1.289 MB / 0.9203 GB, free: 4.957 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.9593, allocations: 0.6364 MB / 0.9209 GB, free: 4.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.9598, allocations: 478.3 kB / 0.9214 GB, free: 3.836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.9604, allocations: 493.8 kB / 0.9219 GB, free: 3.352 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.9605, allocations: 116 kB / 0.922 GB, free: 3.238 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.9614, allocations: 497.2 kB / 0.9225 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.9617, allocations: 291.1 kB / 0.9227 GB, free: 2.469 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/0.9622, allocations: 0.5441 MB / 0.9233 GB, free: 1.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.9638, allocations: 1.611 MB / 0.9248 GB, free: 320 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9639, allocations: 0 / 0.9248 GB, free: 320 kB / 0.67 GB Notification: Performance of FrontEnd: time 3.827e-06/0.9639, allocations: 7.984 kB / 0.9249 GB, free: 312 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.9639, allocations: 0.75 kB / 0.9249 GB, free: 312 kB / 0.67 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.00239/0.9663, allocations: 1.403 MB / 0.9262 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.9663, allocations: 8.031 kB / 0.9262 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.9672, allocations: 187.4 kB / 0.9264 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.9684, allocations: 0.762 MB / 0.9272 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.9684, allocations: 62 kB / 0.9272 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.9685, allocations: 84 kB / 0.9273 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.97, allocations: 0.922 MB / 0.9282 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.97, allocations: 0 / 0.9282 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.9701, allocations: 32 kB / 0.9282 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.9701, allocations: 24 kB / 0.9282 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.9718, allocations: 1.112 MB / 0.9293 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.9755, allocations: 2.488 MB / 0.9318 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.977, allocations: 0.8884 MB / 0.9326 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.9775, allocations: 303.8 kB / 0.9329 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.9776, allocations: 32.55 kB / 0.9329 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007863/0.9784, allocations: 0.4951 MB / 0.9334 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.175e-06/0.9784, allocations: 0 / 0.9334 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.00297/0.9814, allocations: 1.19 MB / 0.9346 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.9815, allocations: 192.6 kB / 0.9348 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.9822, allocations: 0.6252 MB / 0.9354 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.9823, allocations: 45.69 kB / 0.9354 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.9826, allocations: 384.4 kB / 0.9358 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.9828, allocations: 260.3 kB / 0.936 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.983, allocations: 162.5 kB / 0.9362 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.9832, allocations: 394.7 kB / 0.9366 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.9837, allocations: 261.9 kB / 0.9368 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.9843, allocations: 359.1 kB / 0.9372 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.9854, allocations: 0.6122 MB / 0.9378 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9854, allocations: 0 / 0.9378 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001816/0.9872, allocations: 0.8487 MB / 0.9386 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9873, allocations: 8 kB / 0.9386 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.9873, allocations: 0 / 0.9386 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.9879, allocations: 84.86 kB / 0.9387 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.9885, allocations: 155.8 kB / 0.9388 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9906, allocations: 1.643 MB / 0.9404 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.9912, allocations: 96.25 kB / 0.9405 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.9913, allocations: 39.97 kB / 0.9406 GB, free: 15.68 MB / 0.7012 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.0003747/0.9917, allocations: 271.5 kB / 0.9408 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.9919, allocations: 82.97 kB / 0.9409 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.9941, allocations: 1.058 MB / 0.9419 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.9941, allocations: 8 kB / 0.9419 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.9941, allocations: 0 / 0.9419 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.9941, allocations: 7.922 kB / 0.942 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.9971, allocations: 1.951 MB / 0.9439 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9971, allocations: 4 kB / 0.9439 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/0.9977, allocations: 139.8 kB / 0.944 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.9981, allocations: 68.8 kB / 0.9441 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.9982, allocations: 31.97 kB / 0.9441 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1, allocations: 1.671 MB / 0.9457 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1, allocations: 0 / 0.9457 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/1.002, allocations: 1.006 MB / 0.9467 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/1.002, allocations: 271.8 kB / 0.947 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.002, allocations: 16 kB / 0.947 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/1.003, allocations: 60.5 kB / 0.947 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.003, allocations: 72.89 kB / 0.9471 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/1.003, allocations: 31.98 kB / 0.9471 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005231/1.004, allocations: 459 kB / 0.9476 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/1.004, allocations: 0 / 0.9476 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008478/1.005, allocations: 307.2 kB / 0.9479 GB, free: 7.945 MB / 0.7012 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.001348/1.006, allocations: 0.6104 MB / 0.9485 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0016/1.008, allocations: 0.8323 MB / 0.9493 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.008, allocations: 0 / 0.9493 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008477/1.008, allocations: 0.5236 MB / 0.9498 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.01, allocations: 291.1 kB / 0.9501 GB, free: 5.879 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/1.013, allocations: 1.739 MB / 0.9518 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/1.014, allocations: 1.019 MB / 0.9528 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007192/1.015, allocations: 258.5 kB / 0.953 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.015, allocations: 107.4 kB / 0.9531 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/1.015, allocations: 0 / 0.9531 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of Templates: time 0.02398/1.039, allocations: 15.17 MB / 0.9679 GB, free: 3.707 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)