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.00114/0.00114, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001019/0.001019, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 282.4 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 0.9534/0.9534, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3899, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005895/0.3958, allocations: 4.439 MB / 0.7714 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.5441, allocations: 150.6 MB / 0.9184 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.5449, allocations: 19.88 kB / 0.9184 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.5455, allocations: 178.4 kB / 0.9186 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.5473, allocations: 0.5251 MB / 0.9191 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.5494, allocations: 0.846 MB / 0.92 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.5508, allocations: 1.355 MB / 0.9213 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.5518, allocations: 0.6316 MB / 0.9219 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.5525, allocations: 494.3 kB / 0.9224 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/0.5532, allocations: 0.5134 MB / 0.9229 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.5534, allocations: 120 kB / 0.923 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.5543, allocations: 487.6 kB / 0.9234 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5546, allocations: 303 kB / 0.9237 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.5552, allocations: 0.5596 MB / 0.9243 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.557, allocations: 1.646 MB / 0.9259 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.557, allocations: 0 / 0.9259 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.373e-06/0.557, allocations: 4 kB / 0.9259 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.324e-05/0.557, allocations: 0 / 0.9259 GB, free: 0.6328 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.003067/0.5601, allocations: 1.452 MB / 0.9273 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.5601, allocations: 12.02 kB / 0.9273 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/0.5611, allocations: 187.3 kB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.5624, allocations: 0.7781 MB / 0.9283 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/0.5624, allocations: 58 kB / 0.9283 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5626, allocations: 84 kB / 0.9284 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5642, allocations: 0.9496 MB / 0.9293 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5642, allocations: 0 / 0.9293 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.5643, allocations: 36 kB / 0.9294 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.5643, allocations: 27.94 kB / 0.9294 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.5661, allocations: 1.128 MB / 0.9305 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.57, allocations: 2.519 MB / 0.9329 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5716, allocations: 0.9149 MB / 0.9338 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.5721, allocations: 318.7 kB / 0.9341 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.5722, allocations: 36.67 kB / 0.9342 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/0.5731, allocations: 0.512 MB / 0.9347 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 2.235e-06/0.5731, allocations: 0 / 0.9347 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003231/0.5763, allocations: 1.251 MB / 0.9359 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.5765, allocations: 188.9 kB / 0.9361 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.5772, allocations: 0.6486 MB / 0.9367 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.829e-05/0.5773, allocations: 45.7 kB / 0.9368 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.5776, allocations: 404.4 kB / 0.9371 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.5778, allocations: 272.1 kB / 0.9374 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.578, allocations: 174.5 kB / 0.9376 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5782, allocations: 386.8 kB / 0.9379 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.5788, allocations: 277.8 kB / 0.9382 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.5794, allocations: 384 kB / 0.9386 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.5806, allocations: 0.6368 MB / 0.9392 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5806, allocations: 3.938 kB / 0.9392 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001981/0.5826, allocations: 0.8839 MB / 0.9401 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5826, allocations: 8 kB / 0.9401 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5826, allocations: 8.062 kB / 0.9401 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/0.5832, allocations: 76.78 kB / 0.9401 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.5839, allocations: 175.7 kB / 0.9403 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.5859, allocations: 1.623 MB / 0.9419 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.5867, allocations: 95.3 kB / 0.942 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.5868, allocations: 39.97 kB / 0.942 GB, free: 15.55 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.0003773/0.5872, allocations: 283.4 kB / 0.9423 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.5873, allocations: 82.97 kB / 0.9424 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.5898, allocations: 1.136 MB / 0.9435 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.5898, allocations: 11.91 kB / 0.9435 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5898, allocations: 4 kB / 0.9435 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.5902, allocations: 279.6 kB / 0.9438 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.5903, allocations: 20 kB / 0.9438 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.591, allocations: 67.92 kB / 0.9439 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5912, allocations: 80.89 kB / 0.9439 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0021/0.5933, allocations: 1.006 MB / 0.9449 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002325/0.5956, allocations: 1.484 MB / 0.9464 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006056/0.5963, allocations: 383.8 kB / 0.9467 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005124/0.5968, allocations: 463 kB / 0.9472 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of Backend: time 2.3e-07/0.5968, allocations: 0 / 0.9472 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.5999, allocations: 1.297 MB / 0.9484 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002832/0.6027, allocations: 2.06 MB / 0.9504 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.3379/0.9406, allocations: 16.7 MB / 0.9668 GB, free: 185.5 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)