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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00125/0.00125, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 287.1 kB / 290.4 MB, free: 2.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9628/0.9628, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 95.98 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005637/0.1518, allocations: 4.44 MB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4406/0.5925, allocations: 148.4 MB / 0.8288 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.5932, allocations: 19.09 kB / 0.8289 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.5937, allocations: 142.6 kB / 0.829 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.595, allocations: 462.7 kB / 0.8294 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.5965, allocations: 0.7542 MB / 0.8302 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5977, allocations: 1.35 MB / 0.8315 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007524/0.5984, allocations: 0.6265 MB / 0.8321 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.599, allocations: 496.9 kB / 0.8326 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.5995, allocations: 0.5133 MB / 0.8331 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.5997, allocations: 117.9 kB / 0.8332 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.6005, allocations: 464.2 kB / 0.8336 GB, free: 0 / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.6007, allocations: 300.3 kB / 0.8339 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.6012, allocations: 0.5593 MB / 0.8345 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.6028, allocations: 1.602 MB / 0.836 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.6029, allocations: 0 / 0.836 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6029, allocations: 1.219 kB / 0.836 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.6029, allocations: 0 / 0.836 GB, free: 15.55 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.002645/0.6055, allocations: 1.452 MB / 0.8374 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6056, allocations: 9.625 kB / 0.8375 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.6065, allocations: 191.3 kB / 0.8376 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6075, allocations: 0.7535 MB / 0.8384 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.6076, allocations: 65.62 kB / 0.8384 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6077, allocations: 86.33 kB / 0.8385 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.6093, allocations: 0.9497 MB / 0.8394 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.6093, allocations: 0 / 0.8394 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.6094, allocations: 36.94 kB / 0.8395 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6094, allocations: 24.62 kB / 0.8395 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.6111, allocations: 1.129 MB / 0.8406 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.615, allocations: 2.541 MB / 0.8431 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.6166, allocations: 0.9265 MB / 0.844 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.6172, allocations: 317.3 kB / 0.8443 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.6173, allocations: 35.36 kB / 0.8443 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008653/0.6182, allocations: 0.5168 MB / 0.8448 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.475e-06/0.6182, allocations: 0 / 0.8448 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003231/0.6214, allocations: 1.257 MB / 0.8461 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6216, allocations: 191.1 kB / 0.8462 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.6223, allocations: 0.6356 MB / 0.8469 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.6224, allocations: 47.38 kB / 0.8469 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.6227, allocations: 395.9 kB / 0.8473 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.6229, allocations: 286 kB / 0.8476 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.6232, allocations: 171.6 kB / 0.8477 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6234, allocations: 388.3 kB / 0.8481 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.6239, allocations: 278.6 kB / 0.8484 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.6245, allocations: 383.1 kB / 0.8487 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6256, allocations: 0.6342 MB / 0.8493 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6256, allocations: 0 / 0.8493 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001963/0.6276, allocations: 0.8938 MB / 0.8502 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6276, allocations: 7.281 kB / 0.8502 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6276, allocations: 0 / 0.8502 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/0.6283, allocations: 88.44 kB / 0.8503 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.629, allocations: 169.2 kB / 0.8505 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.6311, allocations: 1.632 MB / 0.8521 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.6319, allocations: 99.86 kB / 0.8522 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.632, allocations: 41.75 kB / 0.8522 GB, free: 6.121 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.0004186/0.6324, allocations: 271.8 kB / 0.8525 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.6326, allocations: 82.53 kB / 0.8525 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.6351, allocations: 1.138 MB / 0.8536 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6351, allocations: 13.47 kB / 0.8537 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6351, allocations: 3.984 kB / 0.8537 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6351, allocations: 6.984 kB / 0.8537 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.6384, allocations: 2.035 MB / 0.8557 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6384, allocations: 0 / 0.8557 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.6391, allocations: 157.4 kB / 0.8558 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.6395, allocations: 78.84 kB / 0.8559 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.6396, allocations: 25.52 kB / 0.8559 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.6415, allocations: 1.653 MB / 0.8575 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6415, allocations: 0 / 0.8575 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.6435, allocations: 1.056 MB / 0.8586 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.6439, allocations: 277.4 kB / 0.8588 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6441, allocations: 29.22 kB / 0.8588 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.6448, allocations: 72.22 kB / 0.8589 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.645, allocations: 79.14 kB / 0.859 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.645, allocations: 38.22 kB / 0.859 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00055/0.6456, allocations: 459.5 kB / 0.8595 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6456, allocations: 3 kB / 0.8595 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008557/0.6465, allocations: 317.2 kB / 0.8598 GB, free: 0.9023 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.00138/0.6479, allocations: 0.6046 MB / 0.8604 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002393/0.6503, allocations: 1.095 MB / 0.8614 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6503, allocations: 11.06 kB / 0.8614 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.6512, allocations: 0.5315 MB / 0.862 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6525, allocations: 306.4 kB / 0.8623 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.6567, allocations: 2.25 MB / 0.8644 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.6573, allocations: 1.035 MB / 0.8655 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008777/0.6582, allocations: 273 kB / 0.8657 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.6585, allocations: 107.9 kB / 0.8658 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.6585, allocations: 0 / 0.8658 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.02524/0.6838, allocations: 15.14 MB / 0.8806 GB, free: 1.27 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)