Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001587/0.001587, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002115, allocations: 278.7 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9585/0.9585, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 92.69 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005749/0.1467, allocations: 4.425 MB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4281/0.5748, allocations: 148.3 MB / 0.8285 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006921/0.5755, allocations: 16.22 kB / 0.8286 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.576, allocations: 143.6 kB / 0.8287 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.5774, allocations: 447.4 kB / 0.8291 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.579, allocations: 0.7165 MB / 0.8298 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5802, allocations: 1.259 MB / 0.8311 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.581, allocations: 0.607 MB / 0.8316 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.5815, allocations: 424.5 kB / 0.8321 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.5819, allocations: 479 kB / 0.8325 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.5821, allocations: 56.56 kB / 0.8326 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007858/0.5829, allocations: 400.8 kB / 0.8329 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.5831, allocations: 248.8 kB / 0.8332 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004113/0.5835, allocations: 0.5066 MB / 0.8337 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.585, allocations: 1.536 MB / 0.8352 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.585, allocations: 1.969 kB / 0.8352 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.12e-07/0.585, allocations: 1.062 kB / 0.8352 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.585, allocations: 0 / 0.8352 GB, free: 15.89 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002732/0.5878, allocations: 1.448 MB / 0.8366 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5878, allocations: 12.19 kB / 0.8366 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/0.5888, allocations: 184.7 kB / 0.8368 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5898, allocations: 0.7581 MB / 0.8375 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-05/0.5899, allocations: 68.14 kB / 0.8376 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.59, allocations: 83.56 kB / 0.8377 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.5916, allocations: 0.9387 MB / 0.8386 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5917, allocations: 1.156 kB / 0.8386 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.5917, allocations: 39.5 kB / 0.8386 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5918, allocations: 21.69 kB / 0.8386 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.5935, allocations: 1.125 MB / 0.8397 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.5974, allocations: 2.532 MB / 0.8422 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.5989, allocations: 0.9121 MB / 0.8431 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.5994, allocations: 314.5 kB / 0.8434 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.455e-05/0.5995, allocations: 31 kB / 0.8434 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009261/0.6004, allocations: 0.5229 MB / 0.8439 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.625e-06/0.6005, allocations: 3.938 kB / 0.8439 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003179/0.6036, allocations: 1.24 MB / 0.8452 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.6038, allocations: 194.4 kB / 0.8453 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.6045, allocations: 0.6427 MB / 0.846 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.6046, allocations: 43.67 kB / 0.846 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.6049, allocations: 396.1 kB / 0.8464 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.6051, allocations: 274.1 kB / 0.8467 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.6054, allocations: 168.9 kB / 0.8468 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6055, allocations: 395.7 kB / 0.8472 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.6061, allocations: 278.7 kB / 0.8475 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.6067, allocations: 374.7 kB / 0.8478 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6078, allocations: 0.6249 MB / 0.8484 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6079, allocations: 0 / 0.8484 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002045/0.6099, allocations: 0.8714 MB / 0.8493 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6099, allocations: 5.031 kB / 0.8493 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.61, allocations: 8.594 kB / 0.8493 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.6106, allocations: 83.94 kB / 0.8494 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.6113, allocations: 169.8 kB / 0.8495 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.6133, allocations: 1.512 MB / 0.851 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/0.6141, allocations: 99.72 kB / 0.8511 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.6142, allocations: 41.06 kB / 0.8511 GB, free: 6.434 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 98 * 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.0004829/0.6147, allocations: 272.6 kB / 0.8514 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6149, allocations: 85.69 kB / 0.8515 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.6174, allocations: 1.136 MB / 0.8526 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.6174, allocations: 17.28 kB / 0.8526 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6174, allocations: 0 / 0.8526 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.6174, allocations: 10.88 kB / 0.8526 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.6208, allocations: 2.019 MB / 0.8546 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6208, allocations: 2.844 kB / 0.8546 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.6214, allocations: 158.1 kB / 0.8547 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.622, allocations: 78.94 kB / 0.8548 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.622, allocations: 31.66 kB / 0.8549 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6238, allocations: 1.552 MB / 0.8564 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6238, allocations: 0 / 0.8564 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.6259, allocations: 1.04 MB / 0.8574 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.6263, allocations: 285.9 kB / 0.8577 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6264, allocations: 17.94 kB / 0.8577 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.6271, allocations: 73.02 kB / 0.8577 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.6273, allocations: 75.95 kB / 0.8578 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/0.6274, allocations: 41.28 kB / 0.8579 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006082/0.628, allocations: 460 kB / 0.8583 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.628, allocations: 0 / 0.8583 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000984/0.629, allocations: 327.3 kB / 0.8586 GB, free: 1.32 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 (99): * Single equations (assignments): 92 * 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.001369/0.6304, allocations: 0.6065 MB / 0.8592 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.6322, allocations: 0.8577 MB / 0.86 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6322, allocations: 2.188 kB / 0.86 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.6332, allocations: 0.5416 MB / 0.8606 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6344, allocations: 272 kB / 0.8608 GB, free: 164 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.6385, allocations: 2.235 MB / 0.863 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.6391, allocations: 1.037 MB / 0.864 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008661/0.6399, allocations: 268.5 kB / 0.8643 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.6402, allocations: 104.8 kB / 0.8644 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.6402, allocations: 0 / 0.8644 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.02424/0.6645, allocations: 14.58 MB / 0.8786 GB, free: 3.148 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)