Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251") translateModel(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008709/0.0008712, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00583/0.00583, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.553/1.553, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.000399, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2475, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.01573/0.2633, allocations: 10.97 MB / 0.5987 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6596/0.923, allocations: 157.4 MB / 0.7524 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004942/0.928, allocations: 60.31 kB / 0.7525 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.9296, allocations: 220.5 kB / 0.7527 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.9335, allocations: 0.6007 MB / 0.7533 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.938, allocations: 1.148 MB / 0.7544 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006728/0.9447, allocations: 4.289 MB / 0.7586 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005184/0.9499, allocations: 2.752 MB / 0.7613 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.9538, allocations: 1.089 MB / 0.7623 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.9564, allocations: 1.223 MB / 0.7635 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.9569, allocations: 80 kB / 0.7636 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.959, allocations: 0.6594 MB / 0.7642 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005667/0.9596, allocations: 0.5284 MB / 0.7648 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.9615, allocations: 1.395 MB / 0.7661 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006309/0.9678, allocations: 5.027 MB / 0.771 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9678, allocations: 0 / 0.771 GB, free: 68 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.817e-06/0.9678, allocations: 0 / 0.771 GB, free: 68 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001532/0.968, allocations: 3.938 kB / 0.771 GB, free: 64 kB / 0.5762 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.008183/0.9762, allocations: 3.173 MB / 0.7741 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.9763, allocations: 16.02 kB / 0.7741 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.9863, allocations: 1.357 MB / 0.7755 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.9919, allocations: 2.113 MB / 0.7775 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.9922, allocations: 234 kB / 0.7778 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008547/0.9931, allocations: 304 kB / 0.778 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.005, allocations: 4.508 MB / 0.7824 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/1.005, allocations: 3.938 kB / 0.7825 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/1.006, allocations: 124 kB / 0.7826 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/1.006, allocations: 79.94 kB / 0.7826 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.022, allocations: 4.96 MB / 0.7875 GB, free: 14.95 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.03125/1.053, allocations: 14.28 MB / 0.8014 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.065, allocations: 4.102 MB / 0.8054 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/1.07, allocations: 1.724 MB / 0.8071 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/1.072, allocations: 1.073 MB / 0.8082 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00643/1.078, allocations: 2.142 MB / 0.8103 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 6.492e-06/1.079, allocations: 4 kB / 0.8103 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=225): time 0.01737/1.096, allocations: 5.423 MB / 0.8156 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/1.096, allocations: 277.2 kB / 0.8158 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/1.1, allocations: 1.968 MB / 0.8178 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000685/1.101, allocations: 69.7 kB / 0.8178 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.103, allocations: 1.184 MB / 0.819 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.104, allocations: 0.7394 MB / 0.8197 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007684/1.105, allocations: 198.3 kB / 0.8199 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.105, allocations: 309.1 kB / 0.8202 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/1.11, allocations: 1.62 MB / 0.8218 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/1.115, allocations: 1.959 MB / 0.8237 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00943/1.124, allocations: 3.595 MB / 0.8272 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.124, allocations: 4 kB / 0.8272 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01233/1.136, allocations: 4.125 MB / 0.8312 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/1.137, allocations: 33.69 kB / 0.8313 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/1.137, allocations: 8 kB / 0.8313 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/1.137, allocations: 96.81 kB / 0.8314 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004684/1.142, allocations: 0.7213 MB / 0.8321 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/1.145, allocations: 1.587 MB / 0.8336 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.15, allocations: 461.3 kB / 0.834 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009806/1.151, allocations: 135.8 kB / 0.8342 GB, free: 13.57 MB / 0.6544 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.003889/1.155, allocations: 0.9986 MB / 0.8352 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.156, allocations: 225.2 kB / 0.8354 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.171, allocations: 4.411 MB / 0.8397 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.171, allocations: 24 kB / 0.8397 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.171, allocations: 3.984 kB / 0.8397 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-05/1.171, allocations: 11.97 kB / 0.8397 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.19, allocations: 8.17 MB / 0.8477 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.19, allocations: 7.938 kB / 0.8477 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/1.193, allocations: 0.5773 MB / 0.8483 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/1.194, allocations: 96.7 kB / 0.8484 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003355/1.194, allocations: 67.95 kB / 0.8484 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/1.196, allocations: 1.614 MB / 0.85 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.196, allocations: 0 / 0.85 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.21, allocations: 5.806 MB / 0.8557 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.212, allocations: 0.8251 MB / 0.8565 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008735/1.213, allocations: 59.98 kB / 0.8565 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/1.216, allocations: 299.6 kB / 0.8568 GB, free: 5.852 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.217, allocations: 153.7 kB / 0.857 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.217, allocations: 87.94 kB / 0.857 GB, free: 5.613 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003467/1.221, allocations: 1.495 MB / 0.8585 GB, free: 4.098 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/1.221, allocations: 0 / 0.8585 GB, free: 4.098 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003803/1.225, allocations: 0.8878 MB / 0.8594 GB, free: 3.207 MB / 0.67 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.002196/1.227, allocations: 0.7157 MB / 0.8601 GB, free: 2.676 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3751/1.602, allocations: 3.772 MB / 0.8638 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.602, allocations: 2.906 kB / 0.8638 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/1.606, allocations: 1.995 MB / 0.8657 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.609, allocations: 404.9 kB / 0.8661 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.622, allocations: 7.913 MB / 0.8738 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/1.624, allocations: 2.295 MB / 0.8761 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003923/1.628, allocations: 0.9162 MB / 0.877 GB, free: 208.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.629, allocations: 292.7 kB / 0.8772 GB, free: 208.3 MB / 0.67 GB Notification: Performance of SimCode: time 2.364e-06/1.629, allocations: 0 / 0.8772 GB, free: 208.3 MB / 0.67 GB Notification: Performance of Templates: time 0.08464/1.714, allocations: 39.24 MB / 0.9156 GB, free: 199.7 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.makefile (rm -f IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe >> ../files/IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.sim & ./IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe 2>&1)