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.001411/0.001416, 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.001687/0.001687, allocations: 195.3 kB / 16.26 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 298.1 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.111/1.111, allocations: 178.6 MB / 0.5069 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 95.72 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1918, allocations: 89.15 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007273/0.1991, allocations: 4.94 MB / 0.6978 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.529/0.7282, allocations: 148.4 MB / 0.8427 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.7292, allocations: 15.03 kB / 0.8427 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.7298, allocations: 157.9 kB / 0.8429 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.7317, allocations: 0.4953 MB / 0.8434 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.7338, allocations: 0.7593 MB / 0.8441 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.7357, allocations: 1.427 MB / 0.8455 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/0.7367, allocations: 0.5875 MB / 0.8461 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.7375, allocations: 0.5053 MB / 0.8466 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.7382, allocations: 0.5174 MB / 0.8471 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7383, allocations: 118.2 kB / 0.8472 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008714/0.7392, allocations: 466.7 kB / 0.8476 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.7395, allocations: 299.1 kB / 0.8479 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000516/0.74, allocations: 0.5788 MB / 0.8485 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.742, allocations: 1.623 MB / 0.8501 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.742, allocations: 0 / 0.8501 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.444e-06/0.742, allocations: 1.5 kB / 0.8501 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.742, allocations: 0 / 0.8501 GB, free: 4.688 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.003029/0.7451, allocations: 1.469 MB / 0.8515 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7451, allocations: 9.969 kB / 0.8515 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.7462, allocations: 191.3 kB / 0.8517 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.7474, allocations: 0.7557 MB / 0.8524 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.7474, allocations: 65.06 kB / 0.8525 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7476, allocations: 79.94 kB / 0.8526 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.7492, allocations: 0.9558 MB / 0.8535 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.7493, allocations: 4 kB / 0.8535 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.7494, allocations: 41.7 kB / 0.8536 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.7494, allocations: 19.72 kB / 0.8536 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.7513, allocations: 1.13 MB / 0.8547 GB, free: 1.578 MB / 0.5762 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.004557/0.7558, allocations: 2.766 MB / 0.8574 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.7574, allocations: 0.9111 MB / 0.8583 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.758, allocations: 317.3 kB / 0.8586 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.7581, allocations: 36.33 kB / 0.8586 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.7592, allocations: 0.5191 MB / 0.8591 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.565e-06/0.7592, allocations: 0 / 0.8591 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00345/0.7626, allocations: 1.255 MB / 0.8603 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.7628, allocations: 191.1 kB / 0.8605 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.7636, allocations: 0.6397 MB / 0.8611 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.7637, allocations: 47.39 kB / 0.8612 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.7641, allocations: 403.8 kB / 0.8616 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.7643, allocations: 271.3 kB / 0.8618 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.7646, allocations: 171.7 kB / 0.862 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.7648, allocations: 392.2 kB / 0.8624 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.7654, allocations: 279.2 kB / 0.8626 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.7661, allocations: 385.4 kB / 0.863 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.7672, allocations: 0.634 MB / 0.8636 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.7673, allocations: 3.938 kB / 0.8636 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002121/0.7694, allocations: 0.8833 MB / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7694, allocations: 6.688 kB / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7694, allocations: 2.719 kB / 0.8645 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/0.7702, allocations: 86.92 kB / 0.8646 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.7709, allocations: 171.8 kB / 0.8647 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.7734, allocations: 1.636 MB / 0.8663 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.7743, allocations: 95.67 kB / 0.8664 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.7744, allocations: 45.67 kB / 0.8665 GB, free: 9.02 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.00052/0.775, allocations: 280.6 kB / 0.8667 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.7752, allocations: 86.06 kB / 0.8668 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.7778, allocations: 1.137 MB / 0.8679 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7778, allocations: 14.03 kB / 0.868 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7778, allocations: 2.094 kB / 0.868 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.7779, allocations: 7.969 kB / 0.868 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.7816, allocations: 2.028 MB / 0.8699 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7816, allocations: 0 / 0.8699 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/0.7823, allocations: 159.7 kB / 0.8701 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.7828, allocations: 72.78 kB / 0.8702 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.7829, allocations: 27.98 kB / 0.8702 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.7852, allocations: 1.65 MB / 0.8718 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7852, allocations: 4.031 kB / 0.8718 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.7877, allocations: 1.051 MB / 0.8728 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.7882, allocations: 279.7 kB / 0.8731 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7883, allocations: 24 kB / 0.8731 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007431/0.7891, allocations: 67.92 kB / 0.8732 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.7893, allocations: 76.89 kB / 0.8733 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/0.7894, allocations: 40.11 kB / 0.8733 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007575/0.7901, allocations: 459 kB / 0.8737 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7901, allocations: 4 kB / 0.8737 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001051/0.7912, allocations: 331.3 kB / 0.8741 GB, free: 1.688 MB / 0.5919 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.002015/0.7932, allocations: 0.6133 MB / 0.8747 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.796, allocations: 1.09 MB / 0.8757 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7961, allocations: 0 / 0.8757 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.7971, allocations: 0.5471 MB / 0.8763 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.7986, allocations: 304.9 kB / 0.8765 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.8023, allocations: 2.146 MB / 0.8786 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.803, allocations: 1.032 MB / 0.8796 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009508/0.804, allocations: 270.9 kB / 0.8799 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.8043, allocations: 111.4 kB / 0.88 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/0.8043, allocations: 3.938 kB / 0.88 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Templates: time 0.02899/0.8333, allocations: 15.51 MB / 0.8952 GB, free: 12.41 MB / 0.6231 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)