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.001755/0.001756, allocations: 108.2 kB / 16.27 MB, free: 6.359 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.001462/0.001462, allocations: 195.2 kB / 17.2 MB, free: 5.953 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.645/1.645, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 285.4 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 96.7 kB / 0.5959 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.217, allocations: 86.98 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007739/0.2248, allocations: 4.306 MB / 0.685 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6277/0.8524, allocations: 150.5 MB / 0.8321 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.8537, allocations: 19.88 kB / 0.8321 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.8548, allocations: 166.4 kB / 0.8322 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.8573, allocations: 0.5017 MB / 0.8327 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.86, allocations: 0.8187 MB / 0.8335 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.862, allocations: 1.297 MB / 0.8348 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.8632, allocations: 0.634 MB / 0.8354 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009579/0.8641, allocations: 468.3 kB / 0.8359 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009354/0.8651, allocations: 497.8 kB / 0.8363 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003777/0.8655, allocations: 120 kB / 0.8364 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.8668, allocations: 463.6 kB / 0.8369 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005326/0.8674, allocations: 291 kB / 0.8372 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.8684, allocations: 0.5402 MB / 0.8377 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.8713, allocations: 1.576 MB / 0.8392 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.8713, allocations: 4 kB / 0.8392 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8713, allocations: 3.938 kB / 0.8392 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.603e-05/0.8714, allocations: 0 / 0.8392 GB, free: 12.68 MB / 0.6075 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.00407/0.8754, allocations: 1.396 MB / 0.8406 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8755, allocations: 16.03 kB / 0.8406 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.8767, allocations: 187.4 kB / 0.8408 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.8781, allocations: 0.7348 MB / 0.8415 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.8782, allocations: 62 kB / 0.8416 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.8783, allocations: 84 kB / 0.8416 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8802, allocations: 0.9222 MB / 0.8425 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.8802, allocations: 0 / 0.8425 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/0.8803, allocations: 39.75 kB / 0.8426 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.8804, allocations: 20 kB / 0.8426 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.8823, allocations: 1.108 MB / 0.8437 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.8868, allocations: 2.525 MB / 0.8462 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.8885, allocations: 0.8893 MB / 0.847 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.8891, allocations: 306.7 kB / 0.8473 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.243e-05/0.8892, allocations: 32.55 kB / 0.8473 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009714/0.8902, allocations: 0.4947 MB / 0.8478 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 4.328e-06/0.8902, allocations: 0 / 0.8478 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.003295/0.8935, allocations: 1.182 MB / 0.849 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.8936, allocations: 192.5 kB / 0.8492 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.8946, allocations: 0.6369 MB / 0.8498 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.8947, allocations: 41.7 kB / 0.8498 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.8951, allocations: 396.3 kB / 0.8502 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.8953, allocations: 244.5 kB / 0.8504 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.8956, allocations: 162.4 kB / 0.8506 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.8958, allocations: 394.7 kB / 0.851 GB, free: 324 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.8964, allocations: 269.8 kB / 0.8512 GB, free: 56 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.8971, allocations: 355.1 kB / 0.8516 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.8983, allocations: 0.6111 MB / 0.8522 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8984, allocations: 0 / 0.8522 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00211/0.9005, allocations: 0.8527 MB / 0.853 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.9005, allocations: 7.984 kB / 0.853 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9005, allocations: 1.562 kB / 0.853 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.9011, allocations: 80.88 kB / 0.8531 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.9018, allocations: 159.8 kB / 0.8532 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.9044, allocations: 1.646 MB / 0.8548 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.9052, allocations: 95.22 kB / 0.8549 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.9053, allocations: 31.98 kB / 0.855 GB, free: 12.05 MB / 0.6231 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.0005306/0.9058, allocations: 275.3 kB / 0.8552 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.906, allocations: 79.06 kB / 0.8553 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.9085, allocations: 1.063 MB / 0.8563 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.9085, allocations: 12 kB / 0.8564 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9086, allocations: 6.906 kB / 0.8564 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.9086, allocations: 11.91 kB / 0.8564 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.9121, allocations: 1.945 MB / 0.8583 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9122, allocations: 0 / 0.8583 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.9127, allocations: 147.8 kB / 0.8584 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.9132, allocations: 76.77 kB / 0.8585 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.9133, allocations: 23.98 kB / 0.8585 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.9154, allocations: 1.67 MB / 0.8601 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9154, allocations: 0 / 0.8601 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.9175, allocations: 0.996 MB / 0.8611 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/0.918, allocations: 271.7 kB / 0.8614 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.9181, allocations: 27.98 kB / 0.8614 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.9188, allocations: 59.94 kB / 0.8615 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.919, allocations: 68.91 kB / 0.8615 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.9191, allocations: 35.97 kB / 0.8616 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006924/0.9198, allocations: 459 kB / 0.862 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9198, allocations: 0 / 0.862 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001111/0.921, allocations: 303.4 kB / 0.8623 GB, free: 4.293 MB / 0.6231 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.001675/0.9226, allocations: 0.6047 MB / 0.8629 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.9252, allocations: 1.027 MB / 0.8639 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9253, allocations: 0 / 0.8639 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/0.9263, allocations: 0.5081 MB / 0.8644 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.9276, allocations: 300.8 kB / 0.8647 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.9322, allocations: 1.8 MB / 0.8664 GB, free: 208 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.933, allocations: 1.022 MB / 0.8674 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.9334, allocations: 115.4 kB / 0.8675 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.9334, allocations: 0 / 0.8675 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of Templates: time 0.03248/0.9659, allocations: 18.34 MB / 0.8854 GB, free: 12.76 MB / 0.6544 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)