Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001086/0.001087, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.001251/0.001251, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.313/1.313, 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/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 58.78 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 80.21 MB / 0.6604 GB, free: 10.26 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.05671/0.2051, allocations: 53.27 MB / 0.7124 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0226/0.2277, allocations: 15.18 MB / 0.7272 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003025/0.2308, allocations: 87.5 kB / 0.7273 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.2345, allocations: 1.117 MB / 0.7284 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006721/0.2413, allocations: 2.341 MB / 0.7307 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.2473, allocations: 2.266 MB / 0.7329 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00713/0.2545, allocations: 4.615 MB / 0.7374 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.2577, allocations: 1.631 MB / 0.739 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004863/0.2626, allocations: 1.954 MB / 0.7409 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.2652, allocations: 1.361 MB / 0.7422 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006699/0.2659, allocations: 168 kB / 0.7424 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/0.2701, allocations: 1.837 MB / 0.7442 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008615/0.271, allocations: 0.5216 MB / 0.7447 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.2729, allocations: 1.041 MB / 0.7457 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3646/0.6375, allocations: 3.317 MB / 0.7489 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.6376, allocations: 2.438 kB / 0.7489 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6376, allocations: 0.6562 kB / 0.7489 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001319/0.6377, allocations: 3 kB / 0.7489 GB, free: 15.16 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.005457/0.6432, allocations: 2.518 MB / 0.7514 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6432, allocations: 10.34 kB / 0.7514 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.6456, allocations: 456.4 kB / 0.7518 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.6491, allocations: 1.679 MB / 0.7535 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.6492, allocations: 87.3 kB / 0.7536 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6494, allocations: 124.9 kB / 0.7537 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.6523, allocations: 1.346 MB / 0.755 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.6523, allocations: 5.297 kB / 0.755 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.6525, allocations: 45.75 kB / 0.755 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/0.6525, allocations: 40.25 kB / 0.7551 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.6554, allocations: 1.078 MB / 0.7561 GB, free: 13.16 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.01034/0.6658, allocations: 7.066 MB / 0.763 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.6682, allocations: 1.353 MB / 0.7644 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000979/0.6692, allocations: 421.8 kB / 0.7648 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005277/0.6745, allocations: 3.094 MB / 0.7678 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.6756, allocations: 434.3 kB / 0.7682 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 4.248e-06/0.6756, allocations: 2.719 kB / 0.7682 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.003208/0.6788, allocations: 1.211 MB / 0.7694 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.6789, allocations: 58.78 kB / 0.7694 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.6812, allocations: 1.537 MB / 0.7709 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.6813, allocations: 42.23 kB / 0.771 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/0.6821, allocations: 0.8901 MB / 0.7718 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.6823, allocations: 206.9 kB / 0.772 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.6826, allocations: 209.5 kB / 0.7722 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.6827, allocations: 341.5 kB / 0.7726 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/0.6837, allocations: 382.2 kB / 0.7729 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6849, allocations: 0.7498 MB / 0.7737 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.687, allocations: 1.116 MB / 0.7748 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.687, allocations: 4.188 kB / 0.7748 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003165/0.6902, allocations: 1.28 MB / 0.776 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.6902, allocations: 43.55 kB / 0.7761 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.6903, allocations: 10.69 kB / 0.7761 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.6903, allocations: 20.06 kB / 0.7761 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.6914, allocations: 256.4 kB / 0.7763 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/0.6914, allocations: 20.06 kB / 0.7763 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6929, allocations: 145 kB / 0.7765 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.693, allocations: 51.23 kB / 0.7765 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001881/0.6949, allocations: 0.6679 MB / 0.7772 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001207/0.6961, allocations: 0.7419 MB / 0.7779 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002097/0.6982, allocations: 1.083 MB / 0.779 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/0.6982, allocations: 3.406 kB / 0.779 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002789/0.701, allocations: 1.263 MB / 0.7802 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.7011, allocations: 36.78 kB / 0.7802 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7011, allocations: 11 kB / 0.7802 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.7011, allocations: 16.5 kB / 0.7803 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.7021, allocations: 256 kB / 0.7805 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.7021, allocations: 26.53 kB / 0.7805 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.7033, allocations: 114.1 kB / 0.7806 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.7034, allocations: 55.52 kB / 0.7807 GB, free: 2.648 MB / 0.5762 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.0003252/0.7038, allocations: 242.5 kB / 0.7809 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.704, allocations: 165.7 kB / 0.7811 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.7067, allocations: 1.119 MB / 0.7822 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.7068, allocations: 12.06 kB / 0.7822 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7068, allocations: 0 / 0.7822 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/0.7087, allocations: 0.9588 MB / 0.7831 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.7143, allocations: 2.407 MB / 0.7855 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.7144, allocations: 0.9844 kB / 0.7855 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.7151, allocations: 144.7 kB / 0.7856 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.7153, allocations: 27.14 kB / 0.7856 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.7154, allocations: 20.5 kB / 0.7857 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.7165, allocations: 1.42 MB / 0.787 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7165, allocations: 0 / 0.787 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.72, allocations: 1.543 MB / 0.7886 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/0.7208, allocations: 344.5 kB / 0.7889 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/0.7213, allocations: 15.64 kB / 0.7889 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.7225, allocations: 53.09 kB / 0.7889 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.7226, allocations: 59.77 kB / 0.789 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.7227, allocations: 28.42 kB / 0.789 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001854/0.7246, allocations: 1.099 MB / 0.7901 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7246, allocations: 0 / 0.7901 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003157/0.7277, allocations: 0.8576 MB / 0.7909 GB, free: 15.45 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/0.7298, allocations: 0.7394 MB / 0.7917 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003749/0.7335, allocations: 1.577 MB / 0.7932 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7336, allocations: 5 kB / 0.7932 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.7348, allocations: 0.5384 MB / 0.7937 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/0.7389, allocations: 0.7714 MB / 0.7945 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.745, allocations: 3.093 MB / 0.7975 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.7462, allocations: 1.354 MB / 0.7988 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.7468, allocations: 147.2 kB / 0.799 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.7468, allocations: 0 / 0.799 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.04863/0.7954, allocations: 33.43 MB / 0.8316 GB, free: 2.953 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)