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.001637/0.001637, allocations: 108 kB / 16.41 MB, free: 6.027 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.001492/0.001492, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.002479, allocations: 300.1 kB / 291.5 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 1.059/1.059, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5974, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006949/0.6044, allocations: 4.311 MB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1935/0.798, allocations: 150.6 MB / 0.9182 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.7992, allocations: 19.88 kB / 0.9183 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009596/0.8003, allocations: 170.4 kB / 0.9184 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.8031, allocations: 0.5059 MB / 0.9189 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.8061, allocations: 0.8224 MB / 0.9197 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.8083, allocations: 1.308 MB / 0.921 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.8096, allocations: 0.6293 MB / 0.9216 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.8107, allocations: 470.4 kB / 0.9221 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.8118, allocations: 0.49 MB / 0.9225 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.8123, allocations: 116 kB / 0.9227 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.8139, allocations: 495.6 kB / 0.9231 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004884/0.8144, allocations: 287 kB / 0.9234 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.8154, allocations: 0.548 MB / 0.9239 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.8181, allocations: 1.615 MB / 0.9255 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8181, allocations: 0 / 0.9255 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8181, allocations: 0 / 0.9255 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.8182, allocations: 0 / 0.9255 GB, free: 1.023 MB / 0.6856 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.002674/0.8208, allocations: 1.405 MB / 0.9269 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8209, allocations: 12.03 kB / 0.9269 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.8218, allocations: 183.4 kB / 0.9271 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.8231, allocations: 0.7656 MB / 0.9278 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.8232, allocations: 62 kB / 0.9279 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.8233, allocations: 80 kB / 0.928 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.8248, allocations: 0.9183 MB / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.8248, allocations: 0 / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.8249, allocations: 44 kB / 0.9289 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.825, allocations: 20 kB / 0.9289 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.8266, allocations: 1.116 MB / 0.93 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.8306, allocations: 2.484 MB / 0.9324 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.8322, allocations: 0.9025 MB / 0.9333 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.8327, allocations: 302.7 kB / 0.9336 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.8328, allocations: 32.61 kB / 0.9336 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008155/0.8336, allocations: 495.2 kB / 0.9341 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 3.076e-06/0.8336, allocations: 0 / 0.9341 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003133/0.8368, allocations: 1.194 MB / 0.9353 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.8369, allocations: 188.6 kB / 0.9354 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.8378, allocations: 0.6253 MB / 0.9361 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.04e-05/0.8379, allocations: 45.7 kB / 0.9361 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.8382, allocations: 388.4 kB / 0.9365 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.8384, allocations: 256.3 kB / 0.9367 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.8387, allocations: 158.5 kB / 0.9369 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.8389, allocations: 394.7 kB / 0.9372 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.8394, allocations: 269.8 kB / 0.9375 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.84, allocations: 363 kB / 0.9378 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8411, allocations: 0.6034 MB / 0.9384 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8411, allocations: 3.938 kB / 0.9384 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001965/0.843, allocations: 0.8488 MB / 0.9393 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.8431, allocations: 8 kB / 0.9393 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8431, allocations: 0 / 0.9393 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.8437, allocations: 84.81 kB / 0.9394 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.8444, allocations: 163.7 kB / 0.9395 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.8467, allocations: 1.638 MB / 0.9411 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.8475, allocations: 95.41 kB / 0.9412 GB, free: 424 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.8476, allocations: 35.98 kB / 0.9412 GB, free: 388 kB / 0.7012 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.0005194/0.8482, allocations: 273.8 kB / 0.9415 GB, free: 108 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.8483, allocations: 78.97 kB / 0.9416 GB, free: 28 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.8506, allocations: 1.058 MB / 0.9426 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.8507, allocations: 8 kB / 0.9426 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8507, allocations: 3.938 kB / 0.9426 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.8507, allocations: 16 kB / 0.9426 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.8539, allocations: 1.943 MB / 0.9445 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.854, allocations: 0 / 0.9445 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.8545, allocations: 143.7 kB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.855, allocations: 80.72 kB / 0.9447 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.855, allocations: 23.98 kB / 0.9448 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.857, allocations: 1.666 MB / 0.9464 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.857, allocations: 4.031 kB / 0.9464 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.859, allocations: 0.9979 MB / 0.9474 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.8595, allocations: 275.8 kB / 0.9476 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8596, allocations: 23.98 kB / 0.9477 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.8602, allocations: 55.94 kB / 0.9477 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.8604, allocations: 64.91 kB / 0.9478 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.8605, allocations: 43.97 kB / 0.9478 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006031/0.8611, allocations: 455 kB / 0.9482 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8611, allocations: 0 / 0.9482 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009903/0.8621, allocations: 307.2 kB / 0.9485 GB, free: 8.629 MB / 0.7169 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.00146/0.8636, allocations: 0.6057 MB / 0.9491 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.8653, allocations: 0.8273 MB / 0.9499 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8654, allocations: 0 / 0.9499 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009441/0.8663, allocations: 0.5237 MB / 0.9505 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.8676, allocations: 294.1 kB / 0.9507 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.8715, allocations: 1.773 MB / 0.9525 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.8721, allocations: 1.015 MB / 0.9535 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.8725, allocations: 119.4 kB / 0.9536 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/0.8725, allocations: 0 / 0.9536 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.4671/1.34, allocations: 18.43 MB / 0.9716 GB, free: 181.7 MB / 0.7169 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)