Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251") translateModel(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001031/0.001031, allocations: 112.6 kB / 16.42 MB, free: 6.508 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.001013/0.001013, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.5 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1296, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.00863/0.1383, allocations: 7.01 MB / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.455/0.5933, allocations: 155.8 MB / 0.8193 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/0.5942, allocations: 31.97 kB / 0.8193 GB, free: 9.105 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.595, allocations: 294.7 kB / 0.8196 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.5968, allocations: 0.7282 MB / 0.8203 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.5993, allocations: 1.308 MB / 0.8216 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00387/0.6032, allocations: 4.603 MB / 0.8261 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.606, allocations: 2.694 MB / 0.8287 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.6086, allocations: 1.793 MB / 0.8305 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.6105, allocations: 1.807 MB / 0.8322 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005448/0.611, allocations: 472.6 kB / 0.8327 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.6128, allocations: 1.068 MB / 0.8337 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008638/0.6137, allocations: 1.018 MB / 0.8347 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.6156, allocations: 1.919 MB / 0.8366 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.6222, allocations: 5.642 MB / 0.8421 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6222, allocations: 0 / 0.8421 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6222, allocations: 0 / 0.8421 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001119/0.6223, allocations: 0 / 0.8421 GB, free: 10.09 MB / 0.6075 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.008404/0.6308, allocations: 4.104 MB / 0.8461 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6308, allocations: 10.12 kB / 0.8461 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009273/0.6401, allocations: 1.309 MB / 0.8474 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/0.6442, allocations: 2.201 MB / 0.8496 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.6444, allocations: 234 kB / 0.8498 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.645, allocations: 300 kB / 0.8501 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008983/0.6539, allocations: 4.5 MB / 0.8545 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/0.654, allocations: 11.92 kB / 0.8545 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.6544, allocations: 124 kB / 0.8546 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.6544, allocations: 76 kB / 0.8547 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.6656, allocations: 4.952 MB / 0.8595 GB, free: 9.73 MB / 0.6231 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.02217/0.6878, allocations: 14.15 MB / 0.8733 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6986, allocations: 4.091 MB / 0.8773 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/0.7025, allocations: 1.71 MB / 0.879 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.7037, allocations: 1.077 MB / 0.88 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004672/0.7083, allocations: 2.134 MB / 0.8821 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=225): time 4.718e-06/0.7084, allocations: 0 / 0.8821 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225): time 0.01411/0.7225, allocations: 5.432 MB / 0.8874 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.7227, allocations: 273.3 kB / 0.8877 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.7256, allocations: 2.006 MB / 0.8896 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.726, allocations: 69.7 kB / 0.8897 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.727, allocations: 1.231 MB / 0.8909 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007459/0.7278, allocations: 0.7785 MB / 0.8917 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009358/0.7287, allocations: 0.5469 MB / 0.8922 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.7288, allocations: 309.1 kB / 0.8925 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003948/0.7328, allocations: 1.617 MB / 0.8941 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/0.737, allocations: 1.942 MB / 0.896 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/0.7453, allocations: 3.586 MB / 0.8995 GB, free: 15.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.7453, allocations: 4 kB / 0.8995 GB, free: 15.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01025/0.7555, allocations: 4.126 MB / 0.9035 GB, free: 11.19 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.7556, allocations: 35.58 kB / 0.9035 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7557, allocations: 8 kB / 0.9035 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.7563, allocations: 96.92 kB / 0.9036 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/0.76, allocations: 0.7176 MB / 0.9043 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.7622, allocations: 1.706 MB / 0.906 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.7657, allocations: 452.4 kB / 0.9064 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/0.7661, allocations: 135.8 kB / 0.9066 GB, free: 7.902 MB / 0.67 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.001889/0.768, allocations: 1.008 MB / 0.9075 GB, free: 6.875 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006481/0.7687, allocations: 238.5 kB / 0.9078 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.7794, allocations: 4.412 MB / 0.9121 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.7794, allocations: 11.95 kB / 0.9121 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7794, allocations: 0 / 0.9121 GB, free: 2.152 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.7809, allocations: 0.7759 MB / 0.9129 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/0.7814, allocations: 75.77 kB / 0.9129 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/0.784, allocations: 275.6 kB / 0.9132 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.7844, allocations: 161.7 kB / 0.9133 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009989/0.7944, allocations: 3.854 MB / 0.9171 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01255/0.807, allocations: 5.818 MB / 0.9228 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003637/0.8107, allocations: 1.655 MB / 0.9244 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002931/0.8136, allocations: 1.531 MB / 0.9259 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of Backend: time 4.41e-07/0.8136, allocations: 0 / 0.9259 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009011/0.8227, allocations: 3.142 MB / 0.929 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of SimCode: time 0.009321/0.832, allocations: 5.852 MB / 0.9347 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of Templates: time 0.0729/0.9049, allocations: 47.98 MB / 0.9815 GB, free: 11.17 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.makefile (rm -f IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; mkfifo IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe >> ../files/IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.sim & ./IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe 2>&1)