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.0008521/0.0008519, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008872/0.0008873, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 269.5 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9824/0.9824, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004209, allocations: 14.62 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1909, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004848/0.1958, allocations: 3.696 MB / 0.6881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5448/0.7406, allocations: 136.7 MB / 0.8216 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.7414, allocations: 18.78 kB / 0.8216 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.7418, allocations: 130.9 kB / 0.8218 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.7432, allocations: 415 kB / 0.8222 GB, free: 408 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.7449, allocations: 0.6315 MB / 0.8228 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.7462, allocations: 1.119 MB / 0.8239 GB, free: 48 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.7469, allocations: 487.7 kB / 0.8243 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.7476, allocations: 325.3 kB / 0.8246 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.748, allocations: 359.7 kB / 0.825 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.7481, allocations: 24.47 kB / 0.825 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008819/0.749, allocations: 331 kB / 0.8253 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.7492, allocations: 189.4 kB / 0.8255 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.7494, allocations: 193.5 kB / 0.8257 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.7507, allocations: 1.162 MB / 0.8268 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7507, allocations: 0 / 0.8268 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7507, allocations: 0 / 0.8268 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.7507, allocations: 1.375 kB / 0.8268 GB, free: 14.96 MB / 0.5606 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.002253/0.753, allocations: 1.206 MB / 0.828 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.753, allocations: 8.906 kB / 0.828 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.7539, allocations: 198.5 kB / 0.8282 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.755, allocations: 0.7042 MB / 0.8289 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.7551, allocations: 64.41 kB / 0.829 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.7552, allocations: 81.44 kB / 0.829 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.7566, allocations: 0.9232 MB / 0.8299 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7567, allocations: 0 / 0.8299 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.7567, allocations: 37.03 kB / 0.83 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.7568, allocations: 23.73 kB / 0.83 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.7583, allocations: 1.119 MB / 0.8311 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.7621, allocations: 2.551 MB / 0.8336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.7635, allocations: 0.8786 MB / 0.8344 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.764, allocations: 312.5 kB / 0.8347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.7641, allocations: 36.2 kB / 0.8348 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008218/0.7649, allocations: 0.4893 MB / 0.8352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 3.947e-06/0.7649, allocations: 0 / 0.8352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.00275/0.7677, allocations: 1.206 MB / 0.8364 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7678, allocations: 195.8 kB / 0.8366 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.7685, allocations: 0.6179 MB / 0.8372 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.7686, allocations: 44.86 kB / 0.8373 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.7689, allocations: 388.8 kB / 0.8376 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.7691, allocations: 254.9 kB / 0.8379 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.7692, allocations: 17.81 kB / 0.8379 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7693, allocations: 392.6 kB / 0.8383 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.7699, allocations: 270.4 kB / 0.8385 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.7704, allocations: 363.7 kB / 0.8389 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.771, allocations: 315.3 kB / 0.8392 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.771, allocations: 0 / 0.8392 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001681/0.7727, allocations: 0.8479 MB / 0.84 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7727, allocations: 7.438 kB / 0.84 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7727, allocations: 2.938 kB / 0.84 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.7733, allocations: 87.95 kB / 0.8401 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.7739, allocations: 159.9 kB / 0.8402 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.776, allocations: 1.533 MB / 0.8417 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.7767, allocations: 100.4 kB / 0.8418 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.7768, allocations: 40.59 kB / 0.8419 GB, free: 7.52 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005497/0.7774, allocations: 270.5 kB / 0.8421 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7776, allocations: 76.72 kB / 0.8422 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.7799, allocations: 1.083 MB / 0.8433 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.78, allocations: 9.156 kB / 0.8433 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.78, allocations: 0 / 0.8433 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.78, allocations: 3.984 kB / 0.8433 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.7834, allocations: 1.96 MB / 0.8452 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.7835, allocations: 0 / 0.8452 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.784, allocations: 152.5 kB / 0.8453 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.7845, allocations: 83.86 kB / 0.8454 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.7846, allocations: 24.67 kB / 0.8454 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/0.7864, allocations: 1.547 MB / 0.8469 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.7864, allocations: 3.938 kB / 0.8469 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.7884, allocations: 0.9989 MB / 0.8479 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.7889, allocations: 293 kB / 0.8482 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.7892, allocations: 17.62 kB / 0.8482 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006697/0.7898, allocations: 79.77 kB / 0.8483 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.79, allocations: 73.58 kB / 0.8484 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.7901, allocations: 42 kB / 0.8484 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006292/0.7907, allocations: 445.2 kB / 0.8488 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7907, allocations: 0 / 0.8488 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001013/0.7917, allocations: 310.8 kB / 0.8491 GB, free: 2.457 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.7932, allocations: 0.5848 MB / 0.8497 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.795, allocations: 0.8295 MB / 0.8505 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.795, allocations: 2.906 kB / 0.8505 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.7959, allocations: 0.5184 MB / 0.851 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.7973, allocations: 252.3 kB / 0.8513 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.8016, allocations: 2.176 MB / 0.8534 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.8024, allocations: 1.018 MB / 0.8544 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009249/0.8033, allocations: 258.7 kB / 0.8546 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.8036, allocations: 103.5 kB / 0.8547 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.8036, allocations: 0 / 0.8547 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.02453/0.8282, allocations: 13.62 MB / 0.868 GB, free: 3.844 MB / 0.5762 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)