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.001264/0.001264, allocations: 112.8 kB / 16.42 MB, free: 6.008 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.001306/0.001306, allocations: 187 kB / 17.35 MB, free: 5.625 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7588/0.7588, allocations: 135.1 MB / 426.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63 kB / 0.5862 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1671, allocations: 80.93 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.009845/0.1769, allocations: 7.018 MB / 0.6721 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.562/0.739, allocations: 155.8 MB / 0.8243 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.7404, allocations: 32.84 kB / 0.8243 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.7412, allocations: 299.4 kB / 0.8246 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.7436, allocations: 0.7235 MB / 0.8253 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.7464, allocations: 1.306 MB / 0.8266 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.7507, allocations: 4.604 MB / 0.8311 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.7539, allocations: 2.873 MB / 0.8339 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.7568, allocations: 1.789 MB / 0.8356 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.7591, allocations: 1.808 MB / 0.8374 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.7597, allocations: 470.5 kB / 0.8378 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.7616, allocations: 1.066 MB / 0.8389 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.7624, allocations: 1.019 MB / 0.8399 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.7645, allocations: 1.901 MB / 0.8417 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005789/0.7703, allocations: 5.588 MB / 0.8472 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7704, allocations: 0 / 0.8472 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7704, allocations: 0 / 0.8472 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001229/0.7705, allocations: 0 / 0.8472 GB, free: 4.328 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.009291/0.7798, allocations: 3.966 MB / 0.851 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.7799, allocations: 9.109 kB / 0.8511 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009388/0.7893, allocations: 1.291 MB / 0.8523 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.7941, allocations: 2.144 MB / 0.8544 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.7943, allocations: 238 kB / 0.8546 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/0.795, allocations: 292 kB / 0.8549 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.804, allocations: 4.518 MB / 0.8593 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.8041, allocations: 4 kB / 0.8593 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.8044, allocations: 124 kB / 0.8595 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/0.8045, allocations: 72 kB / 0.8595 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.8149, allocations: 4.928 MB / 0.8643 GB, free: 3.113 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.0222/0.8371, allocations: 14.1 MB / 0.8781 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.8477, allocations: 4.091 MB / 0.8821 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003851/0.8516, allocations: 1.709 MB / 0.8838 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.8529, allocations: 1.081 MB / 0.8848 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004809/0.8577, allocations: 2.131 MB / 0.8869 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=225): time 5.38e-06/0.8577, allocations: 0 / 0.8869 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=225): time 0.01376/0.8715, allocations: 5.415 MB / 0.8922 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.8717, allocations: 281.3 kB / 0.8925 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.8748, allocations: 1.956 MB / 0.8944 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.8751, allocations: 73.69 kB / 0.8944 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8762, allocations: 1.176 MB / 0.8956 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/0.877, allocations: 0.751 MB / 0.8963 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.8781, allocations: 0.5428 MB / 0.8968 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8782, allocations: 305.1 kB / 0.8971 GB, free: 368 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/0.882, allocations: 1.613 MB / 0.8987 GB, free: 14.74 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/0.8862, allocations: 1.946 MB / 0.9006 GB, free: 12.69 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007935/0.8942, allocations: 3.583 MB / 0.9041 GB, free: 8.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.8942, allocations: 0 / 0.9041 GB, free: 8.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01008/0.9043, allocations: 4.11 MB / 0.9081 GB, free: 4.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.9044, allocations: 37.73 kB / 0.9082 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.9044, allocations: 8 kB / 0.9082 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.9051, allocations: 92.78 kB / 0.9083 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/0.9087, allocations: 0.7214 MB / 0.909 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.9113, allocations: 1.709 MB / 0.9106 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.9149, allocations: 441.4 kB / 0.9111 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/0.9155, allocations: 131.8 kB / 0.9112 GB, free: 1.523 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.002306/0.9178, allocations: 1.005 MB / 0.9122 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008892/0.9187, allocations: 221.3 kB / 0.9124 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.9299, allocations: 4.388 MB / 0.9167 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.93, allocations: 11.95 kB / 0.9167 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.93, allocations: 11.94 kB / 0.9167 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.9316, allocations: 0.759 MB / 0.9174 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006744/0.9323, allocations: 79.67 kB / 0.9175 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/0.9349, allocations: 278 kB / 0.9178 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.9353, allocations: 157.7 kB / 0.9179 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009893/0.9452, allocations: 3.854 MB / 0.9217 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01187/0.9571, allocations: 5.8 MB / 0.9273 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00338/0.9605, allocations: 1.647 MB / 0.9289 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002588/0.9631, allocations: 1.506 MB / 0.9304 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of Backend: time 2.705e-06/0.9632, allocations: 0 / 0.9304 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009029/0.9722, allocations: 3.141 MB / 0.9335 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01059/0.9828, allocations: 5.683 MB / 0.939 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of Templates: time 0.07588/1.059, allocations: 47.91 MB / 0.9858 GB, free: 5.082 MB / 0.7481 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)