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.006517/0.006517, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001355/0.001356, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.89 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5103, allocations: 80.91 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.009688/0.52, allocations: 7.031 MB / 0.6715 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2087/0.7287, allocations: 155.8 MB / 0.8236 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.7308, allocations: 27.88 kB / 0.8236 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008948/0.7318, allocations: 297.1 kB / 0.8239 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.7345, allocations: 0.7321 MB / 0.8246 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003191/0.7377, allocations: 1.293 MB / 0.8259 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005004/0.7427, allocations: 4.606 MB / 0.8304 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.746, allocations: 2.876 MB / 0.8332 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.7492, allocations: 1.781 MB / 0.8349 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.7513, allocations: 1.813 MB / 0.8367 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005673/0.7518, allocations: 472 kB / 0.8372 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.7539, allocations: 1.066 MB / 0.8382 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008526/0.7547, allocations: 1.017 MB / 0.8392 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.7567, allocations: 1.901 MB / 0.8411 GB, free: 12.26 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.7624, allocations: 5.587 MB / 0.8465 GB, free: 6.656 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7625, allocations: 3.938 kB / 0.8465 GB, free: 6.652 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7625, allocations: 0 / 0.8465 GB, free: 6.652 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.649e-05/0.7626, allocations: 0 / 0.8465 GB, free: 6.652 MB / 0.67 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.007853/0.7704, allocations: 3.96 MB / 0.8504 GB, free: 2.617 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7705, allocations: 12.03 kB / 0.8504 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008554/0.779, allocations: 1.283 MB / 0.8516 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.7832, allocations: 2.152 MB / 0.8538 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.7835, allocations: 234 kB / 0.854 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006674/0.7842, allocations: 296 kB / 0.8543 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.7943, allocations: 4.504 MB / 0.8587 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.7944, allocations: 0 / 0.8587 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/0.7947, allocations: 128 kB / 0.8588 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.7948, allocations: 76 kB / 0.8588 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.8067, allocations: 4.924 MB / 0.8637 GB, free: 4.836 MB / 0.6856 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.4986/1.305, allocations: 14.09 MB / 0.8774 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/1.316, allocations: 4.089 MB / 0.8814 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/1.32, allocations: 1.71 MB / 0.8831 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009483/1.321, allocations: 1.079 MB / 0.8841 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003977/1.325, allocations: 2.141 MB / 0.8862 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 3.817e-06/1.325, allocations: 0 / 0.8862 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225): time 0.01287/1.338, allocations: 5.415 MB / 0.8915 GB, free: 174 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.338, allocations: 272.6 kB / 0.8918 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/1.341, allocations: 1.958 MB / 0.8937 GB, free: 172.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003015/1.341, allocations: 70.8 kB / 0.8938 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.342, allocations: 1.183 MB / 0.8949 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/1.343, allocations: 0.7531 MB / 0.8956 GB, free: 171 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009767/1.344, allocations: 0.5426 MB / 0.8962 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/1.344, allocations: 309.1 kB / 0.8965 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/1.348, allocations: 1.611 MB / 0.898 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/1.352, allocations: 1.943 MB / 0.8999 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/1.359, allocations: 3.583 MB / 0.9034 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.359, allocations: 1.562 kB / 0.9034 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008919/1.368, allocations: 4.117 MB / 0.9075 GB, free: 164 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.368, allocations: 31.83 kB / 0.9075 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.368, allocations: 6.25 kB / 0.9075 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/1.368, allocations: 99.11 kB / 0.9076 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.371, allocations: 0.7202 MB / 0.9083 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/1.373, allocations: 1.714 MB / 0.91 GB, free: 162 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/1.376, allocations: 446.5 kB / 0.9104 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.377, allocations: 132.3 kB / 0.9105 GB, free: 161.7 MB / 0.6856 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.001662/1.378, allocations: 0.9993 MB / 0.9115 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005/1.379, allocations: 223.7 kB / 0.9117 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/1.387, allocations: 4.39 MB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.387, allocations: 24 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.387, allocations: 7.922 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.387, allocations: 11.97 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.399, allocations: 8.106 MB / 0.924 GB, free: 150 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.399, allocations: 0 / 0.924 GB, free: 150 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.402, allocations: 0.5811 MB / 0.9245 GB, free: 149.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/1.402, allocations: 80.72 kB / 0.9246 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/1.403, allocations: 75.94 kB / 0.9247 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.404, allocations: 1.713 MB / 0.9263 GB, free: 147.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.404, allocations: 0 / 0.9263 GB, free: 147.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009884/1.414, allocations: 5.786 MB / 0.932 GB, free: 141.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.415, allocations: 0.7591 MB / 0.9327 GB, free: 140.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/1.416, allocations: 83.61 kB / 0.9328 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.418, allocations: 275.7 kB / 0.9331 GB, free: 140.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/1.418, allocations: 153.8 kB / 0.9332 GB, free: 140.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.419, allocations: 87.94 kB / 0.9333 GB, free: 140.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001707/1.42, allocations: 1.491 MB / 0.9348 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/1.42, allocations: 0 / 0.9348 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002513/1.423, allocations: 0.8956 MB / 0.9356 GB, free: 137.8 MB / 0.6856 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.001527/1.424, allocations: 0.7131 MB / 0.9363 GB, free: 137.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007134/1.431, allocations: 3.783 MB / 0.94 GB, free: 133.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.431, allocations: 0 / 0.94 GB, free: 133.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003213/1.435, allocations: 1.989 MB / 0.942 GB, free: 131.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.437, allocations: 439.1 kB / 0.9424 GB, free: 131 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/1.446, allocations: 6.4 MB / 0.9486 GB, free: 124.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.448, allocations: 2.285 MB / 0.9509 GB, free: 122.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002726/1.45, allocations: 0.9225 MB / 0.9518 GB, free: 121.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.451, allocations: 299.2 kB / 0.9521 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/1.451, allocations: 0 / 0.9521 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.0533/1.505, allocations: 41.84 MB / 0.9929 GB, free: 79.46 MB / 0.6856 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)