Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251") translateModel(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01164/0.01164, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8841/0.8841, allocations: 132.4 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 11.94 kB / 0.504 GB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5558, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.01437/0.5702, allocations: 10.96 MB / 0.5944 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.209/0.7792, allocations: 157.4 MB / 0.7481 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00497/0.7843, allocations: 59.69 kB / 0.7482 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.7858, allocations: 210.2 kB / 0.7484 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.7898, allocations: 0.6003 MB / 0.749 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.7942, allocations: 1.149 MB / 0.7501 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007106/0.8013, allocations: 4.285 MB / 0.7543 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/0.8061, allocations: 2.566 MB / 0.7568 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.8096, allocations: 1.104 MB / 0.7579 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.8119, allocations: 1.231 MB / 0.7591 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.8122, allocations: 80 kB / 0.7591 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.8141, allocations: 0.6555 MB / 0.7598 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.8146, allocations: 0.5323 MB / 0.7603 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.8165, allocations: 1.403 MB / 0.7617 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.8225, allocations: 5.066 MB / 0.7666 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8225, allocations: 0 / 0.7666 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8225, allocations: 0 / 0.7666 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001631/0.8227, allocations: 0 / 0.7666 GB, free: 4.391 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: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.007979/0.8307, allocations: 3.208 MB / 0.7698 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.8308, allocations: 12.03 kB / 0.7698 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.8411, allocations: 1.357 MB / 0.7711 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007182/0.8483, allocations: 2.16 MB / 0.7732 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/0.8488, allocations: 242 kB / 0.7734 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.8508, allocations: 296 kB / 0.7737 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.866, allocations: 4.535 MB / 0.7781 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.623e-05/0.8662, allocations: 4 kB / 0.7781 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.8666, allocations: 124 kB / 0.7783 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.8666, allocations: 72 kB / 0.7783 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.8791, allocations: 5.007 MB / 0.7832 GB, free: 3.133 MB / 0.6075 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.02682/0.9059, allocations: 14.28 MB / 0.7972 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.9178, allocations: 4.109 MB / 0.8012 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/0.9224, allocations: 1.718 MB / 0.8029 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.9238, allocations: 1.077 MB / 0.8039 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005747/0.9296, allocations: 2.142 MB / 0.806 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=225): time 7.143e-06/0.9296, allocations: 8 kB / 0.806 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225): time 0.01625/0.9459, allocations: 5.427 MB / 0.8113 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.9461, allocations: 289.3 kB / 0.8116 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/0.9505, allocations: 1.998 MB / 0.8135 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007267/0.9513, allocations: 73.69 kB / 0.8136 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.9531, allocations: 1.2 MB / 0.8148 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.9545, allocations: 0.7355 MB / 0.8155 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007748/0.9553, allocations: 198.3 kB / 0.8157 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9554, allocations: 305.1 kB / 0.816 GB, free: 392 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3785/1.334, allocations: 1.62 MB / 0.8176 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005353/1.339, allocations: 1.953 MB / 0.8195 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009614/1.349, allocations: 3.597 MB / 0.823 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/1.349, allocations: 1.719 kB / 0.823 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01137/1.36, allocations: 4.128 MB / 0.827 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/1.361, allocations: 34.19 kB / 0.827 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.361, allocations: 6.125 kB / 0.8271 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/1.361, allocations: 107.4 kB / 0.8272 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003598/1.365, allocations: 0.7245 MB / 0.8279 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/1.367, allocations: 1.582 MB / 0.8294 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/1.371, allocations: 455.3 kB / 0.8298 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003263/1.371, allocations: 131.5 kB / 0.83 GB, free: 209.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition4,$whenCondition3,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,runningMeanTemperature.TAveDay[7],$PRE.runningMeanTemperature.TAveDay[7],runningMeanTemperature.TAveDay[6],$PRE.runningMeanTemperature.TAveDay[6],runningMeanTemperature.TAveDay[5],$PRE.runningMeanTemperature.TAveDay[5],runningMeanTemperature.TAveDay[4],$PRE.runningMeanTemperature.TAveDay[4],runningMeanTemperature.TAveDay[3],$PRE.runningMeanTemperature.TAveDay[3],runningMeanTemperature.TAveDay[2],$PRE.runningMeanTemperature.TAveDay[2],runningMeanTemperature.TAveDay[1],$PRE.runningMeanTemperature.TAveDay[1],runningMeanTemperature.TRm,$PRE.runningMeanTemperature.TRm,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 1 * 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.002514/1.373, allocations: 1.017 MB / 0.831 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006904/1.374, allocations: 234.1 kB / 0.8312 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.385, allocations: 4.425 MB / 0.8355 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/1.385, allocations: 23.22 kB / 0.8355 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.385, allocations: 1.469 kB / 0.8355 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/1.385, allocations: 11.2 kB / 0.8355 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.399, allocations: 8.174 MB / 0.8435 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.399, allocations: 0 / 0.8435 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.402, allocations: 0.5827 MB / 0.8441 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/1.402, allocations: 95.05 kB / 0.8442 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/1.403, allocations: 67.48 kB / 0.8442 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.404, allocations: 1.602 MB / 0.8458 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.404, allocations: 1.062 kB / 0.8458 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.416, allocations: 5.813 MB / 0.8515 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.418, allocations: 0.8289 MB / 0.8523 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/1.418, allocations: 59.98 kB / 0.8524 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.421, allocations: 291.7 kB / 0.8526 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.421, allocations: 149.9 kB / 0.8528 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.421, allocations: 91.94 kB / 0.8529 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002195/1.423, allocations: 1.527 MB / 0.8544 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.152e-06/1.424, allocations: 0 / 0.8544 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003095/1.427, allocations: 0.8985 MB / 0.8552 GB, free: 192.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (runningMeanTemperature.intTAmb) * Number of discrete variables: 14 ($whenCondition4,$whenCondition2,$whenCondition1,$whenCondition3,runningMeanTemperature.TRm,runningMeanTemperature.TAveDay[1],runningMeanTemperature.TAveDay[2],runningMeanTemperature.TAveDay[3],runningMeanTemperature.TAveDay[4],runningMeanTemperature.TAveDay[5],runningMeanTemperature.TAveDay[6],runningMeanTemperature.TAveDay[7],sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 13 (runningMeanTemperature.TRm,runningMeanTemperature.TAveDay[7],runningMeanTemperature.TAveDay[6],runningMeanTemperature.TAveDay[5],runningMeanTemperature.TAveDay[4],runningMeanTemperature.TAveDay[3],runningMeanTemperature.TAveDay[2],runningMeanTemperature.TAveDay[1],$whenCondition3,i,runningMeanTemperature.TAveDay[i - 1],sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001855/1.428, allocations: 0.7035 MB / 0.8559 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007881/1.436, allocations: 3.787 MB / 0.8596 GB, free: 188.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.436, allocations: 4.188 kB / 0.8596 GB, free: 188.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.44, allocations: 1.989 MB / 0.8616 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.442, allocations: 421.2 kB / 0.862 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.456, allocations: 7.967 MB / 0.8697 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.458, allocations: 2.306 MB / 0.872 GB, free: 175.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003706/1.461, allocations: 0.9263 MB / 0.8729 GB, free: 175 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.462, allocations: 295.2 kB / 0.8732 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.242e-06/1.462, allocations: 0 / 0.8732 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.06312/1.525, allocations: 39.31 MB / 0.9116 GB, free: 135.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.makefile (rm -f IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; mkfifo IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe >> ../files/IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.sim & ./IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe 2>&1)