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.001622/0.001622, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001868/0.001868, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 289.7 kB / 291.4 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 99.2 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005753/0.147, allocations: 4.419 MB / 0.6859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3818/0.5288, allocations: 150.6 MB / 0.833 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.5296, allocations: 19.88 kB / 0.833 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.5302, allocations: 166.4 kB / 0.8331 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.532, allocations: 0.5151 MB / 0.8336 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.534, allocations: 0.8432 MB / 0.8345 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5354, allocations: 1.355 MB / 0.8358 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008905/0.5363, allocations: 0.6292 MB / 0.8364 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.5369, allocations: 486.3 kB / 0.8369 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.5375, allocations: 0.5133 MB / 0.8374 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.5377, allocations: 116 kB / 0.8375 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007644/0.5384, allocations: 487.6 kB / 0.8379 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.5387, allocations: 307 kB / 0.8382 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.5392, allocations: 0.5518 MB / 0.8388 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.5407, allocations: 1.629 MB / 0.8404 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5407, allocations: 3.984 kB / 0.8404 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5407, allocations: 0 / 0.8404 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5408, allocations: 3.75 kB / 0.8404 GB, free: 11.72 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002456/0.5432, allocations: 1.456 MB / 0.8418 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.5433, allocations: 8.031 kB / 0.8418 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008933/0.5442, allocations: 187.3 kB / 0.842 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5453, allocations: 0.7784 MB / 0.8427 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.5454, allocations: 62 kB / 0.8428 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5455, allocations: 84 kB / 0.8429 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.547, allocations: 0.9456 MB / 0.8438 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.547, allocations: 0 / 0.8438 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.5471, allocations: 36 kB / 0.8438 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.5472, allocations: 24 kB / 0.8439 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5489, allocations: 1.124 MB / 0.8449 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.5526, allocations: 2.504 MB / 0.8474 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.5542, allocations: 0.9084 MB / 0.8483 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.5547, allocations: 314.7 kB / 0.8486 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/0.5548, allocations: 32.69 kB / 0.8486 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00083/0.5557, allocations: 0.5196 MB / 0.8491 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 2.314e-06/0.5557, allocations: 0 / 0.8491 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.0031/0.5588, allocations: 1.243 MB / 0.8503 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.5589, allocations: 196.8 kB / 0.8505 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.5596, allocations: 0.6449 MB / 0.8512 GB, free: 356 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.5597, allocations: 41.7 kB / 0.8512 GB, free: 308 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.5599, allocations: 402.3 kB / 0.8516 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.5601, allocations: 264.2 kB / 0.8518 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.5604, allocations: 174.5 kB / 0.852 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5605, allocations: 390.7 kB / 0.8524 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.5611, allocations: 277.8 kB / 0.8526 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.5617, allocations: 371.1 kB / 0.853 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5629, allocations: 0.6281 MB / 0.8536 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5629, allocations: 0 / 0.8536 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001957/0.5649, allocations: 0.876 MB / 0.8545 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5649, allocations: 10.19 kB / 0.8545 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5649, allocations: 0 / 0.8545 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.5655, allocations: 88.8 kB / 0.8545 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.5662, allocations: 167.8 kB / 0.8547 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.5682, allocations: 1.624 MB / 0.8563 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.5689, allocations: 95.3 kB / 0.8564 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.569, allocations: 39.97 kB / 0.8564 GB, free: 10.73 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: 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.0003454/0.5694, allocations: 271.8 kB / 0.8567 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5695, allocations: 86.95 kB / 0.8568 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.572, allocations: 1.132 MB / 0.8579 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.572, allocations: 8 kB / 0.8579 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.572, allocations: 7.875 kB / 0.8579 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.572, allocations: 11.98 kB / 0.8579 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.5752, allocations: 2.022 MB / 0.8599 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5753, allocations: 4 kB / 0.8599 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.5759, allocations: 159.8 kB / 0.86 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.5763, allocations: 72.72 kB / 0.8601 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5764, allocations: 35.97 kB / 0.8601 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.5782, allocations: 1.648 MB / 0.8617 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5782, allocations: 7.922 kB / 0.8617 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.5802, allocations: 1.049 MB / 0.8628 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5806, allocations: 275.7 kB / 0.863 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5807, allocations: 20 kB / 0.8631 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.5814, allocations: 67.92 kB / 0.8631 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.5816, allocations: 76.89 kB / 0.8632 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/0.5817, allocations: 35.97 kB / 0.8632 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005163/0.5822, allocations: 467 kB / 0.8637 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5822, allocations: 0 / 0.8637 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007474/0.5829, allocations: 323.2 kB / 0.864 GB, free: 2.727 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: 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.001263/0.5842, allocations: 0.6093 MB / 0.8646 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.5858, allocations: 0.8702 MB / 0.8654 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5858, allocations: 0 / 0.8654 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009375/0.5868, allocations: 0.5356 MB / 0.8659 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5879, allocations: 302.6 kB / 0.8662 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.5914, allocations: 1.799 MB / 0.868 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.5919, allocations: 1.035 MB / 0.869 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007236/0.5927, allocations: 270.9 kB / 0.8693 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5929, allocations: 107.4 kB / 0.8694 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.593, allocations: 0 / 0.8694 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of Templates: time 0.02291/0.6159, allocations: 15.25 MB / 0.8843 GB, free: 14.3 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)