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.001273/0.001273, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001212/0.001212, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7695/0.7695, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 55.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3233, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.006488/0.3298, allocations: 7.016 MB / 0.5926 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4766, allocations: 155.8 MB / 0.7447 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.4779, allocations: 35.88 kB / 0.7448 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.4788, allocations: 293.1 kB / 0.7451 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.4814, allocations: 0.7141 MB / 0.7458 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.4845, allocations: 1.301 MB / 0.747 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.4891, allocations: 4.609 MB / 0.7515 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3082/0.7973, allocations: 2.863 MB / 0.7543 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.7999, allocations: 1.745 MB / 0.756 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.8018, allocations: 1.805 MB / 0.7578 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.8026, allocations: 471.3 kB / 0.7582 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.8047, allocations: 1.067 MB / 0.7593 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009105/0.8056, allocations: 1.018 MB / 0.7603 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002845/0.8085, allocations: 1.909 MB / 0.7621 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.8146, allocations: 5.588 MB / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8146, allocations: 0 / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.634e-06/0.8146, allocations: 0 / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001239/0.8147, allocations: 0.9062 kB / 0.7676 GB, free: 1.273 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.009262/0.824, allocations: 3.962 MB / 0.7715 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.824, allocations: 13.61 kB / 0.7715 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009085/0.8331, allocations: 1.289 MB / 0.7727 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.8383, allocations: 2.159 MB / 0.7749 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.8386, allocations: 231.5 kB / 0.7751 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.8397, allocations: 298.5 kB / 0.7754 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.8511, allocations: 4.504 MB / 0.7798 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.492e-05/0.8512, allocations: 0 / 0.7798 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006775/0.8519, allocations: 128 kB / 0.7799 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.8519, allocations: 74.81 kB / 0.7799 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.8648, allocations: 4.924 MB / 0.7848 GB, free: 14.59 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.02635/0.8912, allocations: 14.1 MB / 0.7985 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.9014, allocations: 4.085 MB / 0.8025 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/0.9051, allocations: 1.711 MB / 0.8042 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.9063, allocations: 1.074 MB / 0.8052 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/0.911, allocations: 2.135 MB / 0.8073 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.639e-06/0.911, allocations: 0 / 0.8073 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=225): time 0.01388/0.9249, allocations: 5.417 MB / 0.8126 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.9251, allocations: 276.6 kB / 0.8129 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.9282, allocations: 1.96 MB / 0.8148 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/0.9287, allocations: 73.2 kB / 0.8149 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.9298, allocations: 1.179 MB / 0.816 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009867/0.9308, allocations: 0.7477 MB / 0.8167 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.9321, allocations: 0.5445 MB / 0.8173 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.9322, allocations: 301.1 kB / 0.8176 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003695/0.9359, allocations: 1.619 MB / 0.8191 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.9401, allocations: 1.945 MB / 0.821 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008151/0.9483, allocations: 3.589 MB / 0.8245 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.9483, allocations: 3.75 kB / 0.8245 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01059/0.9589, allocations: 4.101 MB / 0.8285 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.959, allocations: 33.7 kB / 0.8286 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.959, allocations: 16 kB / 0.8286 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.9597, allocations: 104.1 kB / 0.8287 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/0.9635, allocations: 0.7143 MB / 0.8294 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.9656, allocations: 1.697 MB / 0.8311 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.9693, allocations: 445.4 kB / 0.8315 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/0.9699, allocations: 135.8 kB / 0.8316 GB, free: 2.609 MB / 0.6075 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.002365/0.9723, allocations: 1.007 MB / 0.8326 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008204/0.9731, allocations: 225.3 kB / 0.8328 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.984, allocations: 4.395 MB / 0.8371 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.9841, allocations: 24 kB / 0.8371 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9841, allocations: 0 / 0.8371 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.9841, allocations: 15.95 kB / 0.8371 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.001, allocations: 8.1 MB / 0.845 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.001, allocations: 4 kB / 0.845 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.004, allocations: 0.58 MB / 0.8456 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/1.005, allocations: 84.77 kB / 0.8457 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/1.005, allocations: 63.95 kB / 0.8458 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.007, allocations: 1.723 MB / 0.8474 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.007, allocations: 0 / 0.8474 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.02, allocations: 5.78 MB / 0.8531 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.022, allocations: 0.7591 MB / 0.8538 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008537/1.023, allocations: 83.73 kB / 0.8539 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.025, allocations: 275.6 kB / 0.8542 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/1.026, allocations: 149.8 kB / 0.8543 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.026, allocations: 83.95 kB / 0.8544 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002659/1.029, allocations: 1.498 MB / 0.8559 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.474e-06/1.029, allocations: 0 / 0.8559 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0031/1.032, allocations: 0.8917 MB / 0.8567 GB, free: 8.469 MB / 0.6387 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.001858/1.034, allocations: 0.7226 MB / 0.8574 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008857/1.043, allocations: 3.769 MB / 0.8611 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.043, allocations: 0.625 kB / 0.8611 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004258/1.047, allocations: 1.989 MB / 0.8631 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.05, allocations: 447 kB / 0.8635 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.064, allocations: 6.406 MB / 0.8697 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/1.066, allocations: 2.289 MB / 0.872 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003659/1.07, allocations: 0.9186 MB / 0.8729 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.071, allocations: 298.4 kB / 0.8732 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/1.071, allocations: 0 / 0.8732 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of Templates: time 0.06421/1.135, allocations: 41.24 MB / 0.9134 GB, free: 15.01 MB / 0.7012 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe 2>&1)