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.006432/0.006432, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.001283/0.001283, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.5284, allocations: 80.9 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.009037/0.5375, allocations: 7.025 MB / 0.6715 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.7333, allocations: 155.8 MB / 0.8236 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.7358, allocations: 35.88 kB / 0.8236 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.7372, allocations: 285.2 kB / 0.8239 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.7405, allocations: 0.7333 MB / 0.8246 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.7441, allocations: 1.299 MB / 0.8259 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006611/0.7507, allocations: 4.606 MB / 0.8304 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004858/0.7556, allocations: 2.864 MB / 0.8332 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.7598, allocations: 1.79 MB / 0.8349 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.7632, allocations: 1.805 MB / 0.8367 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.7646, allocations: 476 kB / 0.8372 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.768, allocations: 1.066 MB / 0.8382 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.7697, allocations: 1.009 MB / 0.8392 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.7732, allocations: 1.905 MB / 0.8411 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.7806, allocations: 5.591 MB / 0.8465 GB, free: 6.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7807, allocations: 3.938 kB / 0.8465 GB, free: 6.684 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7807, allocations: 0 / 0.8465 GB, free: 6.684 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001599/0.7809, allocations: 0 / 0.8465 GB, free: 6.684 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.01045/0.7913, allocations: 3.966 MB / 0.8504 GB, free: 2.645 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.7914, allocations: 12.03 kB / 0.8504 GB, free: 2.633 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009576/0.801, allocations: 1.283 MB / 0.8517 GB, free: 1.344 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.8057, allocations: 2.144 MB / 0.8537 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.8059, allocations: 234 kB / 0.854 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007334/0.8067, allocations: 300 kB / 0.8543 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.8173, allocations: 4.504 MB / 0.8587 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.8175, allocations: 3.938 kB / 0.8587 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/0.8178, allocations: 128 kB / 0.8588 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/0.8179, allocations: 76 kB / 0.8589 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.8295, allocations: 4.917 MB / 0.8637 GB, free: 4.871 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.4357/1.265, allocations: 14.09 MB / 0.8774 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.277, allocations: 4.096 MB / 0.8814 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/1.282, allocations: 1.71 MB / 0.8831 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.283, allocations: 1.078 MB / 0.8841 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004932/1.288, allocations: 2.13 MB / 0.8862 GB, free: 177 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=225): time 5.05e-06/1.288, allocations: 0 / 0.8862 GB, free: 177 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225): time 0.01368/1.302, allocations: 5.423 MB / 0.8915 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.302, allocations: 277.5 kB / 0.8918 GB, free: 173.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/1.305, allocations: 1.953 MB / 0.8937 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004493/1.306, allocations: 73.97 kB / 0.8938 GB, free: 172.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000977/1.307, allocations: 1.188 MB / 0.8949 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006822/1.307, allocations: 0.7463 MB / 0.8956 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008776/1.308, allocations: 0.5448 MB / 0.8962 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/1.308, allocations: 306.3 kB / 0.8965 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/1.312, allocations: 1.614 MB / 0.898 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004107/1.316, allocations: 1.944 MB / 0.8999 GB, free: 168.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008166/1.324, allocations: 3.585 MB / 0.9034 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/1.324, allocations: 1.125 kB / 0.9034 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01018/1.335, allocations: 4.116 MB / 0.9075 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/1.335, allocations: 33.55 kB / 0.9075 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.335, allocations: 3.844 kB / 0.9075 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/1.335, allocations: 98.72 kB / 0.9076 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.339, allocations: 0.7221 MB / 0.9083 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/1.341, allocations: 1.707 MB / 0.91 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.345, allocations: 442 kB / 0.9104 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007813/1.346, allocations: 136.8 kB / 0.9105 GB, free: 161.8 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.002789/1.349, allocations: 1.002 MB / 0.9115 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/1.35, allocations: 222.7 kB / 0.9117 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009588/1.359, allocations: 4.397 MB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.359, allocations: 20 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.359, allocations: 4 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/1.359, allocations: 11.95 kB / 0.916 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.372, allocations: 8.101 MB / 0.924 GB, free: 150.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.372, allocations: 0 / 0.924 GB, free: 150.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.375, allocations: 0.585 MB / 0.9245 GB, free: 149.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/1.376, allocations: 80.72 kB / 0.9246 GB, free: 149.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.376, allocations: 67.95 kB / 0.9247 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.377, allocations: 1.72 MB / 0.9263 GB, free: 147.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.377, allocations: 0 / 0.9263 GB, free: 147.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.388, allocations: 5.782 MB / 0.932 GB, free: 141.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.39, allocations: 0.7552 MB / 0.9327 GB, free: 140.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006296/1.391, allocations: 83.61 kB / 0.9328 GB, free: 140.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.393, allocations: 275.6 kB / 0.9331 GB, free: 140.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.394, allocations: 153.8 kB / 0.9332 GB, free: 140.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.394, allocations: 87.94 kB / 0.9333 GB, free: 140.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001932/1.396, allocations: 1.491 MB / 0.9348 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.91e-07/1.396, allocations: 0 / 0.9348 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002601/1.398, allocations: 0.8995 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.001593/1.4, allocations: 0.715 MB / 0.9363 GB, free: 137.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007744/1.408, allocations: 3.78 MB / 0.94 GB, free: 133.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.408, allocations: 0 / 0.94 GB, free: 133.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.411, allocations: 1.989 MB / 0.942 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.414, allocations: 448.6 kB / 0.9424 GB, free: 131.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.425, allocations: 6.396 MB / 0.9486 GB, free: 124.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.427, allocations: 2.285 MB / 0.9509 GB, free: 122.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003123/1.43, allocations: 0.9186 MB / 0.9518 GB, free: 121.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.431, allocations: 299.2 kB / 0.9521 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.205e-05/1.431, allocations: 0 / 0.9521 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.05898/1.49, allocations: 41.85 MB / 0.9929 GB, free: 79.52 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)