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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 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.001474/0.001474, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.1 MB / 425.5 MB, free: 11.81 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.38 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2176, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.009879/0.2276, allocations: 7.015 MB / 0.5912 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5737/0.8013, allocations: 155.8 MB / 0.7433 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.8037, allocations: 34.09 kB / 0.7434 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.8053, allocations: 295 kB / 0.7436 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.8091, allocations: 0.7234 MB / 0.7444 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.8143, allocations: 1.299 MB / 0.7456 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008323/0.8226, allocations: 4.565 MB / 0.7501 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005677/0.8283, allocations: 2.871 MB / 0.7529 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.8325, allocations: 1.743 MB / 0.7546 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.8358, allocations: 1.805 MB / 0.7563 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.8373, allocations: 472 kB / 0.7568 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.8404, allocations: 1.034 MB / 0.7578 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.842, allocations: 1.017 MB / 0.7588 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00364/0.8456, allocations: 1.905 MB / 0.7607 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00935/0.855, allocations: 5.442 MB / 0.766 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.855, allocations: 0 / 0.766 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.855, allocations: 0 / 0.766 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002114/0.8553, allocations: 4 kB / 0.766 GB, free: 2.875 MB / 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.01182/0.8671, allocations: 3.96 MB / 0.7698 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8671, allocations: 8.031 kB / 0.7699 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.8772, allocations: 1.291 MB / 0.7711 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/0.8841, allocations: 2.117 MB / 0.7732 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.8845, allocations: 234 kB / 0.7734 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.886, allocations: 299.9 kB / 0.7737 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.9019, allocations: 4.505 MB / 0.7781 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/0.9021, allocations: 0 / 0.7781 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.9032, allocations: 128 kB / 0.7782 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.9033, allocations: 76 kB / 0.7783 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.9163, allocations: 4.921 MB / 0.7831 GB, free: 1.098 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.02658/0.9429, allocations: 14.23 MB / 0.797 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.9555, allocations: 4.086 MB / 0.801 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/0.9604, allocations: 1.713 MB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.9622, allocations: 1.077 MB / 0.8037 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006443/0.9687, allocations: 2.131 MB / 0.8058 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=225): time 5.49e-06/0.9688, allocations: 0 / 0.8058 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=225): time 0.0165/0.9853, allocations: 5.415 MB / 0.8111 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.9855, allocations: 273.3 kB / 0.8113 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/0.9892, allocations: 1.964 MB / 0.8132 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005471/0.9898, allocations: 69.7 kB / 0.8133 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.991, allocations: 1.184 MB / 0.8145 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.9923, allocations: 0.7509 MB / 0.8152 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.9939, allocations: 0.5467 MB / 0.8157 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9941, allocations: 301.1 kB / 0.816 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/0.9982, allocations: 1.62 MB / 0.8176 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004424/1.003, allocations: 1.946 MB / 0.8195 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008552/1.011, allocations: 3.582 MB / 0.823 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/1.011, allocations: 8.062 kB / 0.823 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01217/1.023, allocations: 4.101 MB / 0.827 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/1.024, allocations: 39.09 kB / 0.8271 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.024, allocations: 4 kB / 0.8271 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/1.024, allocations: 97.25 kB / 0.8272 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/1.029, allocations: 0.7214 MB / 0.8279 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/1.031, allocations: 1.701 MB / 0.8295 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/1.036, allocations: 448.8 kB / 0.8299 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009674/1.037, allocations: 135.8 kB / 0.8301 GB, free: 15.4 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.003154/1.04, allocations: 0.9958 MB / 0.831 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/1.041, allocations: 229.3 kB / 0.8313 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/1.054, allocations: 4.4 MB / 0.8356 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/1.054, allocations: 24 kB / 0.8356 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.054, allocations: 0 / 0.8356 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/1.054, allocations: 11.95 kB / 0.8356 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.071, allocations: 8.154 MB / 0.8436 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.071, allocations: 0 / 0.8436 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/1.074, allocations: 0.585 MB / 0.8441 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/1.075, allocations: 76.8 kB / 0.8442 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003463/1.075, allocations: 75.88 kB / 0.8443 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/1.077, allocations: 1.713 MB / 0.8459 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.077, allocations: 5.562 kB / 0.846 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.093, allocations: 5.787 MB / 0.8516 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.096, allocations: 0.763 MB / 0.8524 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.097, allocations: 71.69 kB / 0.8524 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.101, allocations: 279.6 kB / 0.8527 GB, free: 7.699 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/1.101, allocations: 153.8 kB / 0.8528 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/1.102, allocations: 83.94 kB / 0.8529 GB, free: 7.465 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003473/1.105, allocations: 1.502 MB / 0.8544 GB, free: 5.941 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.043e-06/1.105, allocations: 0 / 0.8544 GB, free: 5.941 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003938/1.109, allocations: 0.8956 MB / 0.8553 GB, free: 5.043 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.002239/1.111, allocations: 0.701 MB / 0.8559 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3363/1.448, allocations: 6.256 MB / 0.862 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.448, allocations: 0 / 0.862 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005628/1.453, allocations: 1.99 MB / 0.864 GB, free: 216 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.458, allocations: 442.8 kB / 0.8644 GB, free: 215.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.474, allocations: 6.478 MB / 0.8707 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/1.476, allocations: 2.284 MB / 0.873 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00424/1.481, allocations: 0.9237 MB / 0.8739 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.482, allocations: 299.8 kB / 0.8742 GB, free: 212.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.482, allocations: 0 / 0.8742 GB, free: 212.1 MB / 0.67 GB Notification: Performance of Templates: time 0.09999/1.582, allocations: 41.22 MB / 0.9144 GB, free: 202.6 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)