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.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001048/0.001048, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 294.8 kB / 290.2 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 87.92 kB / 0.5945 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005514/0.1364, allocations: 4.319 MB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4017/0.5382, allocations: 148.2 MB / 0.8284 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008744/0.5391, allocations: 19.38 kB / 0.8284 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.5397, allocations: 136.8 kB / 0.8285 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.541, allocations: 430.6 kB / 0.829 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.5428, allocations: 0.7199 MB / 0.8297 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.5439, allocations: 1.212 MB / 0.8308 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/0.5446, allocations: 0.6053 MB / 0.8314 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.545, allocations: 408.5 kB / 0.8318 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.5454, allocations: 469 kB / 0.8323 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.5455, allocations: 56.84 kB / 0.8323 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.5463, allocations: 395.6 kB / 0.8327 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.5465, allocations: 236.8 kB / 0.8329 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.5469, allocations: 498.5 kB / 0.8334 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5482, allocations: 1.52 MB / 0.8349 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5482, allocations: 1.125 kB / 0.8349 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5482, allocations: 0 / 0.8349 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.5482, allocations: 0 / 0.8349 GB, free: 15.9 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002434/0.5506, allocations: 1.408 MB / 0.8363 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5507, allocations: 9.75 kB / 0.8363 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.5516, allocations: 185.9 kB / 0.8364 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009309/0.5526, allocations: 0.7445 MB / 0.8372 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.5526, allocations: 62.47 kB / 0.8372 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.5527, allocations: 77.78 kB / 0.8373 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5542, allocations: 0.9182 MB / 0.8382 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5542, allocations: 4 kB / 0.8382 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.5543, allocations: 39.73 kB / 0.8382 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5543, allocations: 20.62 kB / 0.8383 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.556, allocations: 1.104 MB / 0.8393 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.5597, allocations: 2.53 MB / 0.8418 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.5611, allocations: 0.885 MB / 0.8427 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.5617, allocations: 309 kB / 0.843 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/0.5617, allocations: 36.25 kB / 0.843 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/0.5626, allocations: 493.6 kB / 0.8435 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.526e-06/0.5626, allocations: 0 / 0.8435 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.00301/0.5656, allocations: 1.193 MB / 0.8446 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.5657, allocations: 192.9 kB / 0.8448 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.5664, allocations: 0.6262 MB / 0.8454 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.5665, allocations: 43.33 kB / 0.8455 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.5668, allocations: 390.3 kB / 0.8459 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.567, allocations: 257 kB / 0.8461 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.5672, allocations: 162.5 kB / 0.8463 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5674, allocations: 388.2 kB / 0.8466 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.5679, allocations: 266.8 kB / 0.8469 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.5685, allocations: 360.7 kB / 0.8472 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5696, allocations: 0.611 MB / 0.8478 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5696, allocations: 0 / 0.8478 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001855/0.5715, allocations: 0.8487 MB / 0.8486 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5715, allocations: 4.938 kB / 0.8487 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5715, allocations: 2.781 kB / 0.8487 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.5721, allocations: 79.5 kB / 0.8487 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/0.5727, allocations: 161.7 kB / 0.8489 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.5747, allocations: 1.538 MB / 0.8504 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.5754, allocations: 90.78 kB / 0.8505 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.5755, allocations: 42.73 kB / 0.8505 GB, free: 6.723 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: 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.0003594/0.5759, allocations: 271 kB / 0.8508 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.576, allocations: 80.06 kB / 0.8509 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.5783, allocations: 1.067 MB / 0.8519 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5784, allocations: 7.906 kB / 0.8519 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5784, allocations: 0 / 0.8519 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.5784, allocations: 6.734 kB / 0.8519 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.5813, allocations: 1.947 MB / 0.8538 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5813, allocations: 0 / 0.8538 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.5819, allocations: 144.1 kB / 0.8539 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.5824, allocations: 85.98 kB / 0.854 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.5825, allocations: 23.39 kB / 0.854 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.5842, allocations: 1.562 MB / 0.8556 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5843, allocations: 0 / 0.8556 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.5861, allocations: 0.9983 MB / 0.8565 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5865, allocations: 273.2 kB / 0.8568 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5866, allocations: 19.5 kB / 0.8568 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.5872, allocations: 61.94 kB / 0.8569 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5874, allocations: 73.61 kB / 0.857 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.5875, allocations: 34.64 kB / 0.857 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00049/0.588, allocations: 454.4 kB / 0.8574 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.588, allocations: 0 / 0.8574 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007876/0.5888, allocations: 307.2 kB / 0.8577 GB, free: 1.719 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.001265/0.5901, allocations: 0.6046 MB / 0.8583 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.5916, allocations: 0.8353 MB / 0.8591 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5916, allocations: 0 / 0.8591 GB, free: 1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.5925, allocations: 0.5045 MB / 0.8596 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5936, allocations: 279.7 kB / 0.8599 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.5974, allocations: 2.151 MB / 0.862 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.5979, allocations: 1.018 MB / 0.863 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007674/0.5987, allocations: 257.3 kB / 0.8632 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.599, allocations: 109.6 kB / 0.8633 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.599, allocations: 0 / 0.8633 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.02123/0.6202, allocations: 14.11 MB / 0.8771 GB, free: 4.547 MB / 0.5919 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)