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.0007913/0.0007915, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008423/0.0008424, allocations: 182.1 kB / 16.92 MB, free: 6.91 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.377/1.377, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 115.4 MB / 407.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004921, allocations: 8.969 kB / 495.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 77.51 MB / 0.5598 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006524/0.1807, allocations: 4.497 MB / 0.5642 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4506/0.6314, allocations: 146.7 MB / 0.7075 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008058/0.6322, allocations: 15.94 kB / 0.7075 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.6328, allocations: 146.8 kB / 0.7076 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.6346, allocations: 487.7 kB / 0.7081 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.6368, allocations: 0.7416 MB / 0.7088 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.6384, allocations: 1.339 MB / 0.7101 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008247/0.6393, allocations: 0.5608 MB / 0.7107 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.6398, allocations: 374.2 kB / 0.711 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.6403, allocations: 417.8 kB / 0.7114 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.6404, allocations: 28 kB / 0.7115 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.6412, allocations: 367.6 kB / 0.7118 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.6414, allocations: 191.1 kB / 0.712 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.6419, allocations: 486.8 kB / 0.7125 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.6434, allocations: 1.526 MB / 0.7139 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6434, allocations: 4 kB / 0.7139 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6434, allocations: 0 / 0.7139 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6434, allocations: 0 / 0.7139 GB, free: 8.98 MB / 0.5294 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.002267/0.6457, allocations: 1.254 MB / 0.7152 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6457, allocations: 8.031 kB / 0.7152 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.6467, allocations: 203.3 kB / 0.7154 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.6478, allocations: 0.7471 MB / 0.7161 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.6479, allocations: 62 kB / 0.7162 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.648, allocations: 87.98 kB / 0.7162 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6497, allocations: 0.9534 MB / 0.7172 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6497, allocations: 0 / 0.7172 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.6498, allocations: 36 kB / 0.7172 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.6498, allocations: 23.98 kB / 0.7172 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6516, allocations: 1.143 MB / 0.7183 GB, free: 4.34 MB / 0.5294 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.004334/0.6559, allocations: 2.789 MB / 0.7211 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.6576, allocations: 0.9111 MB / 0.722 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.6581, allocations: 326.7 kB / 0.7223 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/0.6582, allocations: 28.62 kB / 0.7223 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/0.6592, allocations: 0.5198 MB / 0.7228 GB, free: 15.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 2.335e-06/0.6592, allocations: 7.938 kB / 0.7228 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.003373/0.6626, allocations: 1.274 MB / 0.7241 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6627, allocations: 188.9 kB / 0.7242 GB, free: 14.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.6636, allocations: 0.6449 MB / 0.7249 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.6637, allocations: 45.69 kB / 0.7249 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.664, allocations: 408.3 kB / 0.7253 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.6643, allocations: 268.1 kB / 0.7256 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.6644, allocations: 77.61 kB / 0.7256 GB, free: 12.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6646, allocations: 386.8 kB / 0.726 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.6652, allocations: 281.8 kB / 0.7263 GB, free: 11.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.6658, allocations: 388 kB / 0.7266 GB, free: 11.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.667, allocations: 0.6407 MB / 0.7273 GB, free: 10.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.667, allocations: 3.938 kB / 0.7273 GB, free: 10.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001939/0.6689, allocations: 0.8956 MB / 0.7281 GB, free: 9.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.669, allocations: 13.69 kB / 0.7282 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.669, allocations: 6.438 kB / 0.7282 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.6696, allocations: 84.78 kB / 0.7282 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.6703, allocations: 171.8 kB / 0.7284 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.6724, allocations: 1.528 MB / 0.7299 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.6732, allocations: 112.8 kB / 0.73 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.6733, allocations: 43.97 kB / 0.73 GB, free: 7.895 MB / 0.545 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.0005008/0.6738, allocations: 271.7 kB / 0.7303 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.6739, allocations: 82.97 kB / 0.7304 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.6764, allocations: 1.144 MB / 0.7315 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6764, allocations: 16 kB / 0.7315 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6764, allocations: 3.984 kB / 0.7315 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.6765, allocations: 7.922 kB / 0.7315 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.6797, allocations: 2.033 MB / 0.7335 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6797, allocations: 0 / 0.7335 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.6803, allocations: 151.8 kB / 0.7337 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.6809, allocations: 92.7 kB / 0.7337 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.681, allocations: 27.92 kB / 0.7338 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.6827, allocations: 1.54 MB / 0.7353 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6827, allocations: 0 / 0.7353 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.6848, allocations: 1.066 MB / 0.7363 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.6853, allocations: 295.5 kB / 0.7366 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6854, allocations: 31.98 kB / 0.7366 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.6862, allocations: 87.33 kB / 0.7367 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.6863, allocations: 76.88 kB / 0.7368 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.6864, allocations: 39.97 kB / 0.7368 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005389/0.6869, allocations: 463 kB / 0.7373 GB, free: 256 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6869, allocations: 0 / 0.7373 GB, free: 256 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.000872/0.6878, allocations: 339.2 kB / 0.7376 GB, free: 15.91 MB / 0.5606 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.001434/0.6893, allocations: 0.6034 MB / 0.7382 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.691, allocations: 0.8783 MB / 0.739 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.691, allocations: 0 / 0.739 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.692, allocations: 0.5471 MB / 0.7396 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6933, allocations: 272.9 kB / 0.7398 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.6965, allocations: 2.168 MB / 0.742 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.6972, allocations: 1.032 MB / 0.743 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008736/0.6981, allocations: 271 kB / 0.7432 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.6984, allocations: 111.3 kB / 0.7433 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.6984, allocations: 0 / 0.7433 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.02668/0.7251, allocations: 14.81 MB / 0.7578 GB, free: 11.54 MB / 0.5762 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)