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.001043/0.001043, allocations: 114 kB / 17.08 MB, free: 5.965 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.001031/0.001031, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6931/0.6931, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 60.58 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1329, allocations: 76.19 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006717/0.1397, allocations: 4.918 MB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5157/0.6554, allocations: 150.6 MB / 0.7846 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009735/0.6564, allocations: 19.25 kB / 0.7847 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.657, allocations: 200.8 kB / 0.7848 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.6588, allocations: 0.545 MB / 0.7854 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.6606, allocations: 0.8567 MB / 0.7862 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.662, allocations: 1.431 MB / 0.7876 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.6628, allocations: 0.587 MB / 0.7882 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.6635, allocations: 0.5005 MB / 0.7887 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.6641, allocations: 0.5293 MB / 0.7892 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.6643, allocations: 117.4 kB / 0.7893 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.6652, allocations: 482 kB / 0.7898 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6655, allocations: 313.9 kB / 0.7901 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.666, allocations: 0.575 MB / 0.7906 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.6678, allocations: 1.659 MB / 0.7922 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6678, allocations: 0 / 0.7922 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6678, allocations: 2.562 kB / 0.7922 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.6678, allocations: 0 / 0.7922 GB, free: 13.15 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.002505/0.6703, allocations: 1.463 MB / 0.7937 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6704, allocations: 10.25 kB / 0.7937 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.6713, allocations: 196.6 kB / 0.7939 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6724, allocations: 0.7719 MB / 0.7946 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.6725, allocations: 67.66 kB / 0.7947 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.6726, allocations: 89.48 kB / 0.7948 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.674, allocations: 0.9453 MB / 0.7957 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.674, allocations: 0 / 0.7957 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.6741, allocations: 40.92 kB / 0.7957 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.6742, allocations: 20.94 kB / 0.7958 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.6757, allocations: 1.129 MB / 0.7969 GB, free: 11.75 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.003936/0.6797, allocations: 2.734 MB / 0.7995 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.6811, allocations: 0.9117 MB / 0.8004 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.6816, allocations: 321.4 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.6817, allocations: 39 kB / 0.8008 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/0.6825, allocations: 0.5129 MB / 0.8013 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.6825, allocations: 0 / 0.8013 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003061/0.6856, allocations: 1.258 MB / 0.8025 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.6857, allocations: 191.6 kB / 0.8027 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.6865, allocations: 0.642 MB / 0.8033 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.6866, allocations: 44.17 kB / 0.8033 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.6869, allocations: 404.4 kB / 0.8037 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.6871, allocations: 274.1 kB / 0.804 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.6874, allocations: 173.4 kB / 0.8042 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6875, allocations: 394.1 kB / 0.8045 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.6881, allocations: 280.1 kB / 0.8048 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.6887, allocations: 382.2 kB / 0.8052 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6898, allocations: 0.6395 MB / 0.8058 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6898, allocations: 0 / 0.8058 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001895/0.6917, allocations: 0.8844 MB / 0.8067 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6917, allocations: 10.67 kB / 0.8067 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6917, allocations: 2.719 kB / 0.8067 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.6923, allocations: 82.72 kB / 0.8067 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.693, allocations: 170.7 kB / 0.8069 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.695, allocations: 1.635 MB / 0.8085 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.6958, allocations: 96.36 kB / 0.8086 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.6959, allocations: 47.88 kB / 0.8086 GB, free: 6.461 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.0004702/0.6964, allocations: 270 kB / 0.8089 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6966, allocations: 83.53 kB / 0.809 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.699, allocations: 1.136 MB / 0.8101 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.699, allocations: 13.78 kB / 0.8101 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.6991, allocations: 2.438 kB / 0.8101 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6991, allocations: 11.97 kB / 0.8101 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.7026, allocations: 2.03 MB / 0.8121 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7026, allocations: 0 / 0.8121 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.7032, allocations: 153.7 kB / 0.8122 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/0.7036, allocations: 74.62 kB / 0.8123 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.049e-05/0.7037, allocations: 25.58 kB / 0.8123 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.7055, allocations: 1.653 MB / 0.814 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7055, allocations: 64 / 0.814 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.7075, allocations: 1.056 MB / 0.815 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.708, allocations: 282 kB / 0.8153 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.7083, allocations: 16.88 kB / 0.8153 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.709, allocations: 72.56 kB / 0.8153 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.7092, allocations: 78.58 kB / 0.8154 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.7093, allocations: 40.84 kB / 0.8155 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006314/0.7099, allocations: 464.1 kB / 0.8159 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7099, allocations: 0 / 0.8159 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001016/0.7109, allocations: 330 kB / 0.8162 GB, free: 1.633 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.001506/0.7124, allocations: 0.6137 MB / 0.8168 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.7143, allocations: 0.87 MB / 0.8177 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7143, allocations: 0 / 0.8177 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7153, allocations: 0.5448 MB / 0.8182 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7166, allocations: 314.1 kB / 0.8185 GB, free: 448 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.7198, allocations: 1.731 MB / 0.8202 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.7205, allocations: 1.029 MB / 0.8212 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.7208, allocations: 126.1 kB / 0.8213 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.7208, allocations: 0 / 0.8213 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of Templates: time 0.02665/0.7475, allocations: 19.23 MB / 0.8401 GB, free: 14.61 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)