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.001666/0.001666, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001807/0.001807, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9692/0.9692, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 72.28 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1875, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.01582/0.2033, allocations: 11.5 MB / 0.5957 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4602/0.6636, allocations: 159.1 MB / 0.7511 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.6669, allocations: 61.5 kB / 0.7512 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.668, allocations: 220.8 kB / 0.7514 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.6711, allocations: 0.6112 MB / 0.752 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.6746, allocations: 1.178 MB / 0.7531 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005875/0.6805, allocations: 4.62 MB / 0.7576 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004509/0.6851, allocations: 2.865 MB / 0.7604 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.6891, allocations: 1.768 MB / 0.7622 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.6922, allocations: 1.813 MB / 0.7639 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.6934, allocations: 472 kB / 0.7644 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.696, allocations: 1.05 MB / 0.7654 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.6971, allocations: 1.009 MB / 0.7664 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.6996, allocations: 1.909 MB / 0.7683 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.7066, allocations: 5.45 MB / 0.7736 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7067, allocations: 0 / 0.7736 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7067, allocations: 0 / 0.7736 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001236/0.7068, allocations: 0 / 0.7736 GB, free: 10.73 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.0103/0.7171, allocations: 3.952 MB / 0.7774 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.7172, allocations: 12.03 kB / 0.7774 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009639/0.7268, allocations: 1.291 MB / 0.7787 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.731, allocations: 2.113 MB / 0.7808 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.7312, allocations: 238 kB / 0.781 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005879/0.7318, allocations: 295.9 kB / 0.7813 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.7419, allocations: 4.5 MB / 0.7857 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.742, allocations: 3.984 kB / 0.7857 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003584/0.7423, allocations: 132 kB / 0.7858 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/0.7424, allocations: 72 kB / 0.7859 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.7542, allocations: 4.917 MB / 0.7907 GB, free: 8.961 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.02892/0.7832, allocations: 14.24 MB / 0.8046 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.795, allocations: 4.086 MB / 0.8086 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/0.7991, allocations: 1.718 MB / 0.8103 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.8005, allocations: 1.073 MB / 0.8113 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005075/0.8056, allocations: 2.138 MB / 0.8134 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 5.039e-06/0.8057, allocations: 0 / 0.8134 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=225): time 0.01422/0.8199, allocations: 5.407 MB / 0.8187 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.8201, allocations: 277.2 kB / 0.8189 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.8231, allocations: 1.96 MB / 0.8208 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/0.8236, allocations: 77.7 kB / 0.8209 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.8248, allocations: 1.18 MB / 0.8221 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/0.8258, allocations: 0.7393 MB / 0.8228 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009454/0.8267, allocations: 0.5428 MB / 0.8233 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8268, allocations: 313 kB / 0.8236 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.8305, allocations: 1.613 MB / 0.8252 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.8347, allocations: 1.951 MB / 0.8271 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/0.843, allocations: 3.587 MB / 0.8306 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.8431, allocations: 4 kB / 0.8306 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01066/0.8538, allocations: 4.104 MB / 0.8346 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.8538, allocations: 33.7 kB / 0.8346 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.8539, allocations: 4.531 kB / 0.8347 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.8545, allocations: 108.8 kB / 0.8348 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.8585, allocations: 0.7214 MB / 0.8355 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.861, allocations: 1.693 MB / 0.8371 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.8649, allocations: 449.4 kB / 0.8375 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/0.8655, allocations: 135.8 kB / 0.8377 GB, free: 7.242 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.002344/0.8679, allocations: 1.004 MB / 0.8387 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007674/0.8687, allocations: 229.2 kB / 0.8389 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.8804, allocations: 4.401 MB / 0.8432 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.8805, allocations: 20 kB / 0.8432 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8805, allocations: 7.938 kB / 0.8432 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.39e-05/0.8805, allocations: 11.95 kB / 0.8432 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.8972, allocations: 8.135 MB / 0.8512 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.8972, allocations: 4 kB / 0.8512 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/0.9003, allocations: 0.5811 MB / 0.8517 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/0.9008, allocations: 84.78 kB / 0.8518 GB, free: 8.465 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.9011, allocations: 67.94 kB / 0.8519 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.9033, allocations: 1.721 MB / 0.8535 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9033, allocations: 0 / 0.8535 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.9161, allocations: 5.783 MB / 0.8592 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2845/1.201, allocations: 0.7589 MB / 0.8599 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.202, allocations: 77.38 kB / 0.86 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/1.205, allocations: 279.9 kB / 0.8603 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/1.206, allocations: 148.1 kB / 0.8604 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.206, allocations: 87.05 kB / 0.8605 GB, free: 214.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00206/1.208, allocations: 1.499 MB / 0.862 GB, free: 214.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.222e-06/1.208, allocations: 0 / 0.862 GB, free: 214.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003013/1.211, allocations: 0.8986 MB / 0.8628 GB, free: 214.6 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.00228/1.213, allocations: 0.6938 MB / 0.8635 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01474/1.228, allocations: 6.253 MB / 0.8696 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.228, allocations: 0 / 0.8696 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003909/1.232, allocations: 1.991 MB / 0.8716 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.235, allocations: 455.3 kB / 0.872 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.246, allocations: 7.866 MB / 0.8797 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/1.247, allocations: 2.281 MB / 0.8819 GB, free: 207.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003313/1.25, allocations: 0.9262 MB / 0.8828 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.252, allocations: 292 kB / 0.8831 GB, free: 207.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/1.252, allocations: 4 kB / 0.8831 GB, free: 207.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07145/1.323, allocations: 41.14 MB / 0.9233 GB, free: 197.5 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)