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.001168/0.001168, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001128/0.001128, allocations: 191.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.365/1.365, 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.8238/0.8238, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 55.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4288, allocations: 80.91 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251): time 0.008303/0.4372, allocations: 7.024 MB / 0.5926 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6185, allocations: 155.8 MB / 0.7448 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.6204, allocations: 31.88 kB / 0.7448 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.6214, allocations: 285.1 kB / 0.7451 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.624, allocations: 0.7142 MB / 0.7458 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.6271, allocations: 1.309 MB / 0.747 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004878/0.632, allocations: 4.598 MB / 0.7515 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4094/1.041, allocations: 2.868 MB / 0.7543 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/1.045, allocations: 1.743 MB / 0.756 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/1.049, allocations: 1.805 MB / 0.7578 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.051, allocations: 472 kB / 0.7582 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/1.054, allocations: 1.066 MB / 0.7593 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001383/1.055, allocations: 1.013 MB / 0.7603 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0064/1.062, allocations: 1.913 MB / 0.7621 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009226/1.071, allocations: 5.588 MB / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/1.071, allocations: 3.375 kB / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.167e-06/1.071, allocations: 0.9375 kB / 0.7676 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002978/1.071, allocations: 2.688 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.01388/1.085, allocations: 3.955 MB / 0.7715 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.085, allocations: 11.11 kB / 0.7715 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009754/1.095, allocations: 1.294 MB / 0.7727 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/1.101, allocations: 2.154 MB / 0.7748 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/1.101, allocations: 232.3 kB / 0.7751 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/1.102, allocations: 298.3 kB / 0.7753 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/1.116, allocations: 4.503 MB / 0.7797 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.117, allocations: 5.312 kB / 0.7798 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/1.118, allocations: 121.7 kB / 0.7799 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-05/1.118, allocations: 74.69 kB / 0.7799 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/1.131, allocations: 4.93 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.0313/1.163, allocations: 14.1 MB / 0.7985 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/1.174, allocations: 4.08 MB / 0.8025 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/1.178, allocations: 1.712 MB / 0.8042 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.18, allocations: 1.079 MB / 0.8052 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005679/1.185, allocations: 2.144 MB / 0.8073 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 7.705e-06/1.185, allocations: 0 / 0.8073 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=225): time 0.01649/1.202, allocations: 5.406 MB / 0.8126 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.202, allocations: 281.1 kB / 0.8129 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.206, allocations: 1.958 MB / 0.8148 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007147/1.207, allocations: 71.27 kB / 0.8149 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001628/1.209, allocations: 1.177 MB / 0.816 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.21, allocations: 0.7527 MB / 0.8167 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/1.212, allocations: 0.5489 MB / 0.8173 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.212, allocations: 305.1 kB / 0.8176 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/1.217, allocations: 1.613 MB / 0.8191 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/1.221, allocations: 1.945 MB / 0.821 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008575/1.23, allocations: 3.579 MB / 0.8245 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1.23, allocations: 4 kB / 0.8245 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01102/1.241, allocations: 4.111 MB / 0.8286 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/1.241, allocations: 33.7 kB / 0.8286 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.241, allocations: 4 kB / 0.8286 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/1.242, allocations: 105.2 kB / 0.8287 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/1.246, allocations: 0.7209 MB / 0.8294 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/1.248, allocations: 1.692 MB / 0.831 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004106/1.252, allocations: 445.4 kB / 0.8315 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007365/1.253, allocations: 135.8 kB / 0.8316 GB, free: 2.648 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.002867/1.256, allocations: 0.9986 MB / 0.8326 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.257, allocations: 228.6 kB / 0.8328 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.268, allocations: 4.4 MB / 0.8371 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.269, allocations: 24 kB / 0.8371 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.269, allocations: 0 / 0.8371 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/1.269, allocations: 11.95 kB / 0.8371 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.287, allocations: 8.103 MB / 0.845 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.287, allocations: 4.688 kB / 0.845 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/1.29, allocations: 0.5734 MB / 0.8456 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/1.29, allocations: 94.72 kB / 0.8457 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/1.291, allocations: 71.94 kB / 0.8458 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.293, allocations: 1.712 MB / 0.8474 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.293, allocations: 0 / 0.8474 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.305, allocations: 5.786 MB / 0.8531 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.307, allocations: 0.7591 MB / 0.8538 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/1.308, allocations: 75.67 kB / 0.8539 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.31, allocations: 275.7 kB / 0.8542 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/1.311, allocations: 157.3 kB / 0.8543 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/1.311, allocations: 87.94 kB / 0.8544 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002379/1.313, allocations: 1.494 MB / 0.8559 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.21e-07/1.313, allocations: 0 / 0.8559 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002743/1.316, allocations: 0.8956 MB / 0.8567 GB, free: 8.504 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.001735/1.318, allocations: 0.7062 MB / 0.8574 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008157/1.326, allocations: 3.782 MB / 0.8611 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.326, allocations: 0 / 0.8611 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003846/1.33, allocations: 1.989 MB / 0.8631 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.332, allocations: 444.8 kB / 0.8635 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/1.346, allocations: 6.406 MB / 0.8697 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.348, allocations: 2.289 MB / 0.872 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003548/1.351, allocations: 0.9271 MB / 0.8729 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.352, allocations: 291.2 kB / 0.8732 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/1.352, allocations: 0 / 0.8732 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of Templates: time 0.06989/1.422, allocations: 41.24 MB / 0.9134 GB, free: 15.05 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.ControlHeating.Examples.RunningMeanTemperatureEN15251.pipe 2>&1)