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.001034/0.001034, allocations: 106 kB / 16.41 MB, free: 6.504 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.001142/0.001142, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 62.3 kB / 0.5577 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 76.19 MB / 0.6321 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006622/0.1347, allocations: 4.916 MB / 0.6369 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4819/0.6166, allocations: 150.6 MB / 0.784 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.6181, allocations: 20.03 kB / 0.784 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.619, allocations: 194 kB / 0.7842 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.621, allocations: 0.5641 MB / 0.7847 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.6228, allocations: 0.8462 MB / 0.7856 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.6243, allocations: 1.436 MB / 0.787 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.6251, allocations: 0.5846 MB / 0.7875 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.6257, allocations: 0.5064 MB / 0.788 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.6263, allocations: 0.5241 MB / 0.7885 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.6265, allocations: 118.8 kB / 0.7886 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009859/0.6275, allocations: 487.2 kB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.6278, allocations: 307.3 kB / 0.7894 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.6282, allocations: 0.5742 MB / 0.79 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.6298, allocations: 1.664 MB / 0.7916 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6298, allocations: 0 / 0.7916 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6298, allocations: 0 / 0.7916 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.6299, allocations: 0 / 0.7916 GB, free: 13.12 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.002327/0.6322, allocations: 1.474 MB / 0.793 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6322, allocations: 10.12 kB / 0.793 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.6331, allocations: 191.7 kB / 0.7932 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.6341, allocations: 0.7748 MB / 0.794 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.6341, allocations: 64.66 kB / 0.794 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.6342, allocations: 82.28 kB / 0.7941 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6357, allocations: 0.9503 MB / 0.795 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6357, allocations: 0 / 0.795 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/0.6358, allocations: 38.16 kB / 0.7951 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.6358, allocations: 20.75 kB / 0.7951 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.6373, allocations: 1.125 MB / 0.7962 GB, free: 11.73 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.003486/0.6408, allocations: 2.742 MB / 0.7989 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.6424, allocations: 0.9146 MB / 0.7998 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.6429, allocations: 314.2 kB / 0.8001 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.361e-05/0.643, allocations: 32.22 kB / 0.8001 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/0.644, allocations: 0.5231 MB / 0.8006 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.644, allocations: 0 / 0.8006 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003235/0.6472, allocations: 1.254 MB / 0.8018 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6474, allocations: 194.6 kB / 0.802 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.6481, allocations: 0.6345 MB / 0.8026 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.6482, allocations: 44.52 kB / 0.8027 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.6485, allocations: 401.7 kB / 0.8031 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.6487, allocations: 279.4 kB / 0.8033 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.649, allocations: 173.1 kB / 0.8035 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6491, allocations: 394.9 kB / 0.8039 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.6496, allocations: 281.1 kB / 0.8041 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.6502, allocations: 381.5 kB / 0.8045 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6513, allocations: 0.635 MB / 0.8051 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6513, allocations: 0 / 0.8051 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001814/0.6531, allocations: 0.8876 MB / 0.806 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6531, allocations: 5.281 kB / 0.806 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6531, allocations: 2.812 kB / 0.806 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.6537, allocations: 88.19 kB / 0.8061 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.6544, allocations: 175.8 kB / 0.8063 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6563, allocations: 1.627 MB / 0.8078 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.657, allocations: 102.5 kB / 0.8079 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.6571, allocations: 35.98 kB / 0.808 GB, free: 6.453 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.000397/0.6575, allocations: 283.3 kB / 0.8082 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.6577, allocations: 83.31 kB / 0.8083 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.6599, allocations: 1.139 MB / 0.8094 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6599, allocations: 13.97 kB / 0.8095 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.6599, allocations: 0 / 0.8095 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.6599, allocations: 10.97 kB / 0.8095 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.6629, allocations: 2.027 MB / 0.8114 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6629, allocations: 0 / 0.8114 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.6635, allocations: 152.1 kB / 0.8116 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000416/0.6639, allocations: 74.75 kB / 0.8117 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.664, allocations: 22.83 kB / 0.8117 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6658, allocations: 1.656 MB / 0.8133 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6658, allocations: 6.719 kB / 0.8133 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.6677, allocations: 1.046 MB / 0.8143 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.6681, allocations: 281.8 kB / 0.8146 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.6682, allocations: 21.25 kB / 0.8146 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.6689, allocations: 75.25 kB / 0.8147 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.6692, allocations: 79.88 kB / 0.8148 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.6692, allocations: 45.06 kB / 0.8148 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00067/0.6699, allocations: 463.5 kB / 0.8152 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6699, allocations: 0 / 0.8152 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001033/0.671, allocations: 325.7 kB / 0.8156 GB, free: 1.574 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.00144/0.6724, allocations: 0.611 MB / 0.8162 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.6741, allocations: 0.8638 MB / 0.817 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6741, allocations: 6.406 kB / 0.817 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.6751, allocations: 0.5451 MB / 0.8175 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6764, allocations: 311.1 kB / 0.8178 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.6794, allocations: 1.686 MB / 0.8195 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.68, allocations: 1.039 MB / 0.8205 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007956/0.6808, allocations: 271 kB / 0.8208 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6811, allocations: 110.9 kB / 0.8209 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.6811, allocations: 0 / 0.8209 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of Templates: time 0.02633/0.7075, allocations: 15.77 MB / 0.8363 GB, free: 1.977 MB / 0.6075 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)