Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001049/0.001049, allocations: 106 kB / 16.4 MB, free: 6.465 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.001084/0.001084, allocations: 193.2 kB / 17.34 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.808/0.808, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 58.11 kB / 0.5684 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 77.94 MB / 0.6446 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00626/0.1754, allocations: 4.919 MB / 0.6494 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6338/0.8093, allocations: 150.6 MB / 0.7965 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.8104, allocations: 19.91 kB / 0.7965 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.8111, allocations: 191.5 kB / 0.7967 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.8129, allocations: 0.5617 MB / 0.7972 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.8151, allocations: 0.8465 MB / 0.798 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.8165, allocations: 1.434 MB / 0.7994 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.8172, allocations: 0.5967 MB / 0.8 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.8178, allocations: 0.4925 MB / 0.8005 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.8183, allocations: 0.5335 MB / 0.801 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.8185, allocations: 118.9 kB / 0.8011 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.8193, allocations: 480.2 kB / 0.8016 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.8196, allocations: 304.6 kB / 0.8019 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.82, allocations: 0.5797 MB / 0.8025 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.822, allocations: 1.671 MB / 0.8041 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8221, allocations: 3.938 kB / 0.8041 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8221, allocations: 0 / 0.8041 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.8221, allocations: 0 / 0.8041 GB, free: 11.77 MB / 0.5919 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.002432/0.8245, allocations: 1.503 MB / 0.8056 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8246, allocations: 11.3 kB / 0.8056 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.8254, allocations: 193.3 kB / 0.8057 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.8265, allocations: 0.7814 MB / 0.8065 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.8265, allocations: 70.06 kB / 0.8066 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.8266, allocations: 81.75 kB / 0.8067 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.8281, allocations: 0.9485 MB / 0.8076 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.8281, allocations: 3.75 kB / 0.8076 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.8282, allocations: 40.34 kB / 0.8076 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.8282, allocations: 21.44 kB / 0.8076 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.8299, allocations: 1.13 MB / 0.8087 GB, free: 10.05 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.8341, allocations: 2.734 MB / 0.8114 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8355, allocations: 0.9129 MB / 0.8123 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.836, allocations: 322.2 kB / 0.8126 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.8361, allocations: 32.05 kB / 0.8126 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.837, allocations: 0.5189 MB / 0.8132 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 5.02e-06/0.837, allocations: 4 kB / 0.8132 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003294/0.8403, allocations: 1.26 MB / 0.8144 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.8404, allocations: 191 kB / 0.8146 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.8414, allocations: 0.6357 MB / 0.8152 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.8415, allocations: 42.95 kB / 0.8152 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.8419, allocations: 410.9 kB / 0.8156 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.8422, allocations: 286.5 kB / 0.8159 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8425, allocations: 178.9 kB / 0.8161 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8427, allocations: 391.1 kB / 0.8164 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.8433, allocations: 284 kB / 0.8167 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.844, allocations: 381.8 kB / 0.8171 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.8451, allocations: 0.6337 MB / 0.8177 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.8451, allocations: 3.812 kB / 0.8177 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002223/0.8474, allocations: 0.8854 MB / 0.8186 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.8474, allocations: 5.344 kB / 0.8186 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8474, allocations: 3.984 kB / 0.8186 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.848, allocations: 89.78 kB / 0.8187 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.8487, allocations: 180.2 kB / 0.8188 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.851, allocations: 1.635 MB / 0.8204 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/0.852, allocations: 98.78 kB / 0.8205 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.852, allocations: 40.53 kB / 0.8206 GB, free: 2.805 MB / 0.5919 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.0005259/0.8526, allocations: 272.9 kB / 0.8208 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.8527, allocations: 91.58 kB / 0.8209 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.8552, allocations: 1.14 MB / 0.822 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.8553, allocations: 16.75 kB / 0.822 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8553, allocations: 0 / 0.822 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.8553, allocations: 10.12 kB / 0.822 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.8586, allocations: 2.012 MB / 0.824 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8586, allocations: 0 / 0.824 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.8592, allocations: 156.5 kB / 0.8242 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.8596, allocations: 82.09 kB / 0.8242 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.8597, allocations: 23.95 kB / 0.8243 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.8615, allocations: 1.663 MB / 0.8259 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8615, allocations: 0 / 0.8259 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.8636, allocations: 1.06 MB / 0.8269 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.864, allocations: 279.3 kB / 0.8272 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.8642, allocations: 21.03 kB / 0.8272 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.8648, allocations: 70.53 kB / 0.8273 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.865, allocations: 75.95 kB / 0.8273 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.8651, allocations: 41.03 kB / 0.8274 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005522/0.8656, allocations: 459.8 kB / 0.8278 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8656, allocations: 0 / 0.8278 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009265/0.8666, allocations: 340.7 kB / 0.8281 GB, free: 13.57 MB / 0.6075 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.00132/0.8679, allocations: 0.6155 MB / 0.8288 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.8697, allocations: 0.8736 MB / 0.8296 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8697, allocations: 256 / 0.8296 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.8707, allocations: 0.5442 MB / 0.8301 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.8722, allocations: 305.6 kB / 0.8304 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.8753, allocations: 1.718 MB / 0.8321 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.876, allocations: 1.043 MB / 0.8331 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001016/0.8771, allocations: 262 kB / 0.8334 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.8774, allocations: 115.6 kB / 0.8335 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.8774, allocations: 0 / 0.8335 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.02745/0.9048, allocations: 15.77 MB / 0.8489 GB, free: 11.79 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)