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.001053/0.001053, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001114/0.001114, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002013, allocations: 283.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 89.38 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1351, allocations: 86.97 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005714/0.1408, allocations: 4.444 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4319/0.5728, allocations: 148.3 MB / 0.8286 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.5735, allocations: 16.25 kB / 0.8286 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.574, allocations: 139.8 kB / 0.8287 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.5752, allocations: 450.6 kB / 0.8291 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.5768, allocations: 0.7294 MB / 0.8299 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.5778, allocations: 1.258 MB / 0.8311 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007574/0.5786, allocations: 0.6082 MB / 0.8317 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.5792, allocations: 432.8 kB / 0.8321 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.5796, allocations: 481.9 kB / 0.8326 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.5797, allocations: 58.19 kB / 0.8326 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008458/0.5806, allocations: 403.2 kB / 0.833 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.5808, allocations: 242.9 kB / 0.8332 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.5813, allocations: 0.5028 MB / 0.8337 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.5829, allocations: 1.548 MB / 0.8352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5829, allocations: 0 / 0.8352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.21e-07/0.5829, allocations: 0 / 0.8352 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5829, allocations: 1.125 kB / 0.8352 GB, free: 15.86 MB / 0.5762 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.002648/0.5856, allocations: 1.452 MB / 0.8366 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5856, allocations: 9.031 kB / 0.8367 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009304/0.5866, allocations: 186.1 kB / 0.8368 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5876, allocations: 0.7567 MB / 0.8376 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.5877, allocations: 67.72 kB / 0.8376 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5878, allocations: 86.73 kB / 0.8377 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5894, allocations: 0.9407 MB / 0.8386 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5894, allocations: 1.375 kB / 0.8386 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.5895, allocations: 39.62 kB / 0.8387 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5895, allocations: 22 kB / 0.8387 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.5913, allocations: 1.13 MB / 0.8398 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.5952, allocations: 2.542 MB / 0.8423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5967, allocations: 0.9244 MB / 0.8432 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.5973, allocations: 312.6 kB / 0.8435 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/0.5974, allocations: 37 kB / 0.8435 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/0.5983, allocations: 0.5123 MB / 0.844 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 4.749e-06/0.5983, allocations: 0 / 0.844 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003212/0.6016, allocations: 1.258 MB / 0.8452 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6017, allocations: 195 kB / 0.8454 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007712/0.6024, allocations: 0.6413 MB / 0.8461 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.706e-05/0.6025, allocations: 43.27 kB / 0.8461 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.6029, allocations: 400.5 kB / 0.8465 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6031, allocations: 277.5 kB / 0.8467 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.6033, allocations: 171.4 kB / 0.8469 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6035, allocations: 392.3 kB / 0.8473 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005287/0.6041, allocations: 273.6 kB / 0.8475 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.6047, allocations: 390.9 kB / 0.8479 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6058, allocations: 0.633 MB / 0.8485 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6058, allocations: 2.906 kB / 0.8485 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001971/0.6078, allocations: 0.8833 MB / 0.8494 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6078, allocations: 7.531 kB / 0.8494 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6079, allocations: 0 / 0.8494 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.6085, allocations: 87.55 kB / 0.8495 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.6092, allocations: 172.1 kB / 0.8497 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6113, allocations: 1.518 MB / 0.8511 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/0.6121, allocations: 93.52 kB / 0.8512 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.6122, allocations: 41.72 kB / 0.8513 GB, free: 6.367 MB / 0.5762 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.0004311/0.6126, allocations: 276.5 kB / 0.8515 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6128, allocations: 85.69 kB / 0.8516 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.6153, allocations: 1.132 MB / 0.8527 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.6153, allocations: 10.12 kB / 0.8527 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6153, allocations: 3.984 kB / 0.8527 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6153, allocations: 7.969 kB / 0.8527 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.6185, allocations: 2.032 MB / 0.8547 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6186, allocations: 5.609 kB / 0.8547 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.6192, allocations: 160.5 kB / 0.8549 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/0.6198, allocations: 83.64 kB / 0.855 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.6198, allocations: 25.77 kB / 0.855 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.6216, allocations: 1.542 MB / 0.8565 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6216, allocations: 0 / 0.8565 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6238, allocations: 1.05 MB / 0.8575 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.6242, allocations: 282.4 kB / 0.8578 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6244, allocations: 27.31 kB / 0.8578 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.6251, allocations: 67.64 kB / 0.8579 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.6252, allocations: 78 kB / 0.858 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.6253, allocations: 37.67 kB / 0.858 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005499/0.6259, allocations: 463.4 kB / 0.8584 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6259, allocations: 0 / 0.8584 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009003/0.6268, allocations: 322.2 kB / 0.8587 GB, free: 1.258 MB / 0.5762 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.001345/0.6281, allocations: 0.6167 MB / 0.8593 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.6298, allocations: 0.8753 MB / 0.8602 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6298, allocations: 0 / 0.8602 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.6307, allocations: 0.5358 MB / 0.8607 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6319, allocations: 275.8 kB / 0.861 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.6358, allocations: 2.245 MB / 0.8632 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.6363, allocations: 1.033 MB / 0.8642 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008552/0.6372, allocations: 273.1 kB / 0.8644 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.6375, allocations: 114.1 kB / 0.8646 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6375, allocations: 0 / 0.8646 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.02308/0.6606, allocations: 14.58 MB / 0.8788 GB, free: 3.004 MB / 0.5919 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)