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.001627/0.001627, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001763/0.001763, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 292.4 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 0.9613/0.9613, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.401, allocations: 86.97 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005706/0.4068, allocations: 4.432 MB / 0.7714 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.5627, allocations: 150.6 MB / 0.9184 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/0.5634, allocations: 15.94 kB / 0.9184 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.5641, allocations: 178.3 kB / 0.9186 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5661, allocations: 0.5173 MB / 0.9191 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.5681, allocations: 0.8462 MB / 0.9199 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.5698, allocations: 1.355 MB / 0.9213 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009837/0.5708, allocations: 0.6297 MB / 0.9219 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.5716, allocations: 0.4904 MB / 0.9224 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.5723, allocations: 0.5095 MB / 0.9229 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.5726, allocations: 120 kB / 0.923 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5736, allocations: 487.6 kB / 0.9234 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003219/0.574, allocations: 311 kB / 0.9237 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.5746, allocations: 0.5556 MB / 0.9243 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.5767, allocations: 1.638 MB / 0.9259 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.5767, allocations: 0 / 0.9259 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5767, allocations: 0 / 0.9259 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.514e-05/0.5768, allocations: 0 / 0.9259 GB, free: 0.7656 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.003059/0.5798, allocations: 1.464 MB / 0.9273 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5799, allocations: 8.031 kB / 0.9273 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.5809, allocations: 187.3 kB / 0.9275 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5822, allocations: 0.7664 MB / 0.9282 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.5823, allocations: 73.98 kB / 0.9283 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5825, allocations: 84 kB / 0.9284 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.5842, allocations: 0.9457 MB / 0.9293 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5843, allocations: 0 / 0.9293 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.5844, allocations: 36 kB / 0.9293 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.5844, allocations: 20 kB / 0.9294 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.5862, allocations: 1.132 MB / 0.9305 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.5902, allocations: 2.523 MB / 0.9329 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.5918, allocations: 0.9071 MB / 0.9338 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.5924, allocations: 321.8 kB / 0.9341 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/0.5925, allocations: 32.67 kB / 0.9342 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/0.5934, allocations: 0.5158 MB / 0.9347 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 3.386e-06/0.5934, allocations: 4 kB / 0.9347 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003406/0.5968, allocations: 1.247 MB / 0.9359 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.5969, allocations: 192.9 kB / 0.9361 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.5978, allocations: 0.6448 MB / 0.9367 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.5979, allocations: 45.7 kB / 0.9367 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.5983, allocations: 408.3 kB / 0.9371 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.5985, allocations: 276 kB / 0.9374 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.5988, allocations: 170.5 kB / 0.9376 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.599, allocations: 390.7 kB / 0.9379 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.5995, allocations: 281.8 kB / 0.9382 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/0.6002, allocations: 380 kB / 0.9386 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6014, allocations: 0.6329 MB / 0.9392 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6014, allocations: 0 / 0.9392 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002083/0.6035, allocations: 0.8839 MB / 0.94 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.6036, allocations: 4 kB / 0.94 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6036, allocations: 7.938 kB / 0.9401 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.6042, allocations: 80.89 kB / 0.9401 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.605, allocations: 175.7 kB / 0.9403 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.6073, allocations: 1.626 MB / 0.9419 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.6081, allocations: 106 kB / 0.942 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.6082, allocations: 39.97 kB / 0.942 GB, free: 15.68 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.0004959/0.6087, allocations: 278.1 kB / 0.9423 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.6089, allocations: 86.95 kB / 0.9424 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.6115, allocations: 1.132 MB / 0.9435 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.6116, allocations: 11.92 kB / 0.9435 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6116, allocations: 0 / 0.9435 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.612, allocations: 279.6 kB / 0.9438 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6121, allocations: 20 kB / 0.9438 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.6128, allocations: 63.92 kB / 0.9438 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.613, allocations: 76.89 kB / 0.9439 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002193/0.6152, allocations: 1.006 MB / 0.9449 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002524/0.6177, allocations: 1.488 MB / 0.9463 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006551/0.6184, allocations: 379.8 kB / 0.9467 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005933/0.619, allocations: 463 kB / 0.9472 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of Backend: time 4.31e-07/0.619, allocations: 7.938 kB / 0.9472 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.6224, allocations: 1.28 MB / 0.9484 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003019/0.6254, allocations: 2.081 MB / 0.9504 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.319/0.9444, allocations: 16.69 MB / 0.9667 GB, free: 185.7 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)