Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 114.9 kB / 16.42 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.001171/0.001171, allocations: 183.2 kB / 17.35 MB, free: 5.629 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7591/0.7591, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.52 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 80.92 MB / 0.6653 GB, free: 5.758 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05141/0.1899, allocations: 53.27 MB / 0.7174 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.2106, allocations: 15.19 MB / 0.7322 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.2133, allocations: 87.5 kB / 0.7323 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.2165, allocations: 1.122 MB / 0.7334 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006092/0.2226, allocations: 2.437 MB / 0.7357 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.2284, allocations: 2.279 MB / 0.738 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005803/0.2342, allocations: 4.629 MB / 0.7425 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.2367, allocations: 1.623 MB / 0.7441 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.2407, allocations: 1.97 MB / 0.746 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.2428, allocations: 1.361 MB / 0.7473 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.2433, allocations: 164 kB / 0.7475 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3306/0.5739, allocations: 1.84 MB / 0.7493 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.5752, allocations: 0.5158 MB / 0.7498 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.577, allocations: 1.035 MB / 0.7508 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.5826, allocations: 3.332 MB / 0.754 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5827, allocations: 0 / 0.754 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5827, allocations: 4.781 kB / 0.7541 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.867e-05/0.5827, allocations: 0 / 0.7541 GB, free: 10.43 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004749/0.5875, allocations: 2.513 MB / 0.7565 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5875, allocations: 11.73 kB / 0.7565 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.5898, allocations: 460.2 kB / 0.757 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.5933, allocations: 1.669 MB / 0.7586 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.5934, allocations: 90.59 kB / 0.7587 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5936, allocations: 122.9 kB / 0.7588 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.5964, allocations: 1.346 MB / 0.7601 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.5965, allocations: 1.625 kB / 0.7601 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5966, allocations: 45.78 kB / 0.7602 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.94e-05/0.5967, allocations: 43.75 kB / 0.7602 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.5995, allocations: 1.074 MB / 0.7612 GB, free: 8.297 MB / 0.5762 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.00896/0.6085, allocations: 7.078 MB / 0.7682 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.6108, allocations: 1.347 MB / 0.7695 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009084/0.6117, allocations: 419 kB / 0.7699 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005411/0.6171, allocations: 3.092 MB / 0.7729 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.6182, allocations: 439.4 kB / 0.7733 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.927e-06/0.6182, allocations: 0 / 0.7733 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003086/0.6213, allocations: 1.214 MB / 0.7745 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6213, allocations: 60.62 kB / 0.7745 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.6233, allocations: 1.532 MB / 0.776 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.6234, allocations: 40.14 kB / 0.7761 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006381/0.6241, allocations: 0.8831 MB / 0.7769 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.6243, allocations: 221.6 kB / 0.7772 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.6246, allocations: 208.6 kB / 0.7774 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6247, allocations: 342.7 kB / 0.7777 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/0.6256, allocations: 376.3 kB / 0.778 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6267, allocations: 0.7528 MB / 0.7788 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.6286, allocations: 1.113 MB / 0.7799 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6286, allocations: 2.562 kB / 0.7799 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002719/0.6313, allocations: 1.282 MB / 0.7811 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.6314, allocations: 39.92 kB / 0.7812 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6314, allocations: 12.25 kB / 0.7812 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.6314, allocations: 19.03 kB / 0.7812 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/0.6324, allocations: 257.4 kB / 0.7814 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.6324, allocations: 26.86 kB / 0.7815 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.6337, allocations: 139.9 kB / 0.7816 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.6338, allocations: 58.84 kB / 0.7816 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/0.6353, allocations: 0.6706 MB / 0.7823 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/0.6363, allocations: 0.7286 MB / 0.783 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001798/0.6381, allocations: 1.089 MB / 0.7841 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.6381, allocations: 3.531 kB / 0.7841 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002564/0.6407, allocations: 1.256 MB / 0.7853 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.6407, allocations: 45.3 kB / 0.7853 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.6408, allocations: 11.19 kB / 0.7854 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6408, allocations: 15.22 kB / 0.7854 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.6417, allocations: 258 kB / 0.7856 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.6417, allocations: 25.97 kB / 0.7856 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.6429, allocations: 119.8 kB / 0.7858 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.643, allocations: 48.78 kB / 0.7858 GB, free: 13.78 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.6433, allocations: 244.4 kB / 0.786 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.6436, allocations: 163.2 kB / 0.7862 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.6463, allocations: 1.105 MB / 0.7873 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001887/0.6482, allocations: 0.9628 MB / 0.7882 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6482, allocations: 3.938 kB / 0.7882 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.6488, allocations: 337.7 kB / 0.7885 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.649, allocations: 12.06 kB / 0.7886 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.6498, allocations: 58 kB / 0.7886 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6499, allocations: 56.19 kB / 0.7887 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002489/0.6524, allocations: 1.029 MB / 0.7897 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002781/0.6552, allocations: 1.592 MB / 0.7912 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008191/0.656, allocations: 414.6 kB / 0.7916 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001325/0.6574, allocations: 1.027 MB / 0.7926 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Backend: time 6.41e-07/0.6574, allocations: 0 / 0.7926 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005462/0.6629, allocations: 2.121 MB / 0.7947 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005723/0.6686, allocations: 3.794 MB / 0.7984 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.05533/0.7239, allocations: 35.21 MB / 0.8328 GB, free: 456 kB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)