Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001583/0.001583, allocations: 187 kB / 17.34 MB, free: 5.762 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.431/1.431, 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.002504/0.002504, allocations: 294.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 95.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5712, allocations: 86.98 MB / 0.767 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006482/0.5778, allocations: 4.437 MB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.7599, allocations: 150.6 MB / 0.9184 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.7612, allocations: 19.88 kB / 0.9184 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.7622, allocations: 170.4 kB / 0.9186 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.7649, allocations: 0.5274 MB / 0.9191 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.7677, allocations: 0.8394 MB / 0.9199 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.7699, allocations: 1.363 MB / 0.9213 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.7712, allocations: 0.6278 MB / 0.9219 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.7722, allocations: 494.3 kB / 0.9224 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.7733, allocations: 0.5056 MB / 0.9228 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.7738, allocations: 124 kB / 0.923 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.7752, allocations: 487.6 kB / 0.9234 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.7757, allocations: 303 kB / 0.9237 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.7767, allocations: 0.5596 MB / 0.9243 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.7796, allocations: 1.646 MB / 0.9259 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7796, allocations: 0 / 0.9259 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7796, allocations: 0 / 0.9259 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.388e-05/0.7797, allocations: 0 / 0.9259 GB, free: 0.5469 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004056/0.7837, allocations: 1.456 MB / 0.9273 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.7838, allocations: 12.03 kB / 0.9273 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.7849, allocations: 187.3 kB / 0.9275 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.7866, allocations: 0.7703 MB / 0.9282 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.7867, allocations: 62 kB / 0.9283 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.7869, allocations: 91.98 kB / 0.9284 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.7888, allocations: 0.9457 MB / 0.9293 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.7888, allocations: 0 / 0.9293 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.789, allocations: 32 kB / 0.9293 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.789, allocations: 35.92 kB / 0.9294 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.791, allocations: 1.128 MB / 0.9305 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.7957, allocations: 2.511 MB / 0.9329 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.7974, allocations: 0.9189 MB / 0.9338 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.798, allocations: 326.7 kB / 0.9341 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.7981, allocations: 24.61 kB / 0.9342 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/0.799, allocations: 0.5237 MB / 0.9347 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 3.035e-06/0.799, allocations: 0 / 0.9347 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003396/0.8025, allocations: 1.243 MB / 0.9359 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.8026, allocations: 196.9 kB / 0.9361 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.8035, allocations: 0.6526 MB / 0.9367 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/0.8036, allocations: 45.7 kB / 0.9368 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.804, allocations: 400.4 kB / 0.9371 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.8042, allocations: 272.1 kB / 0.9374 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.8045, allocations: 174.5 kB / 0.9376 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.8047, allocations: 382.8 kB / 0.9379 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.8053, allocations: 277.8 kB / 0.9382 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.806, allocations: 383.9 kB / 0.9386 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.8072, allocations: 0.6406 MB / 0.9392 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8072, allocations: 0 / 0.9392 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002135/0.8093, allocations: 0.88 MB / 0.94 GB, free: 1.629 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8094, allocations: 11.94 kB / 0.9401 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8094, allocations: 0 / 0.9401 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.8101, allocations: 84.89 kB / 0.9401 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.8108, allocations: 175.7 kB / 0.9403 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.8131, allocations: 1.622 MB / 0.9419 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.8139, allocations: 95.22 kB / 0.942 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.814, allocations: 44.09 kB / 0.942 GB, free: 15.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004767/0.8145, allocations: 282.3 kB / 0.9423 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.8147, allocations: 82.97 kB / 0.9424 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.8173, allocations: 1.136 MB / 0.9435 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.8173, allocations: 12 kB / 0.9435 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8174, allocations: 3.984 kB / 0.9435 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.8174, allocations: 7.984 kB / 0.9435 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.821, allocations: 2.033 MB / 0.9455 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.821, allocations: 0 / 0.9455 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.8216, allocations: 151.8 kB / 0.9456 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.8221, allocations: 72.78 kB / 0.9457 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.8222, allocations: 27.97 kB / 0.9457 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.8242, allocations: 1.662 MB / 0.9473 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8242, allocations: 4.062 kB / 0.9473 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.8264, allocations: 1.053 MB / 0.9484 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.8269, allocations: 279.7 kB / 0.9486 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.827, allocations: 16 kB / 0.9487 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.8278, allocations: 70.73 kB / 0.9487 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.828, allocations: 76.89 kB / 0.9488 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.8281, allocations: 39.97 kB / 0.9488 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006536/0.8287, allocations: 467 kB / 0.9493 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8287, allocations: 0 / 0.9493 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001039/0.8298, allocations: 323.2 kB / 0.9496 GB, free: 7.441 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: 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 (100): * Single equations (assignments): 93 * 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.001634/0.8314, allocations: 0.6068 MB / 0.9502 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.8333, allocations: 0.8663 MB / 0.951 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8333, allocations: 0 / 0.951 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8344, allocations: 0.5472 MB / 0.9516 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8357, allocations: 296.3 kB / 0.9518 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.84, allocations: 1.839 MB / 0.9536 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.8408, allocations: 1.043 MB / 0.9547 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.8411, allocations: 119.4 kB / 0.9548 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.8411, allocations: 0 / 0.9548 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of Templates: time 0.5338/1.375, allocations: 18.94 MB / 0.9733 GB, free: 179 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)