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.001234/0.001234, allocations: 109.9 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.001225/0.001225, allocations: 183 kB / 17.34 MB, free: 5.766 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.345/1.345, 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.8282/0.8282, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.12 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1594, allocations: 80.92 MB / 0.6653 GB, free: 5.793 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.05735/0.2168, allocations: 53.26 MB / 0.7173 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02411/0.2409, allocations: 15.19 MB / 0.7322 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.2446, allocations: 87.5 kB / 0.7323 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00401/0.2487, allocations: 1.11 MB / 0.7333 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007593/0.2563, allocations: 2.337 MB / 0.7356 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.263, allocations: 2.282 MB / 0.7378 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007465/0.2705, allocations: 4.61 MB / 0.7423 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.2739, allocations: 1.631 MB / 0.7439 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.2792, allocations: 1.95 MB / 0.7458 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.282, allocations: 1.361 MB / 0.7472 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008188/0.2828, allocations: 168 kB / 0.7473 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4354/0.7182, allocations: 1.838 MB / 0.7491 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.7197, allocations: 0.5199 MB / 0.7496 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.7221, allocations: 1.033 MB / 0.7506 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/0.7299, allocations: 3.331 MB / 0.7539 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.73, allocations: 4.781 kB / 0.7539 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.73, allocations: 0 / 0.7539 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.854e-05/0.7301, allocations: 1.125 kB / 0.7539 GB, free: 10.54 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.006234/0.7363, allocations: 2.516 MB / 0.7564 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.7364, allocations: 10.23 kB / 0.7564 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.739, allocations: 457.9 kB / 0.7568 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/0.7435, allocations: 1.679 MB / 0.7584 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7436, allocations: 89.55 kB / 0.7585 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.7439, allocations: 119.5 kB / 0.7586 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.7472, allocations: 1.339 MB / 0.76 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.7472, allocations: 4.75 kB / 0.76 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.7474, allocations: 49.27 kB / 0.76 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.7475, allocations: 41.02 kB / 0.76 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.7506, allocations: 1.078 MB / 0.7611 GB, free: 8.414 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.0102/0.7608, allocations: 7.075 MB / 0.768 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.7632, allocations: 1.346 MB / 0.7693 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/0.7642, allocations: 419.4 kB / 0.7697 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005815/0.77, allocations: 3.095 MB / 0.7727 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.7711, allocations: 436.8 kB / 0.7732 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.926e-06/0.7711, allocations: 0 / 0.7732 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003283/0.7744, allocations: 1.208 MB / 0.7743 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7745, allocations: 61.86 kB / 0.7744 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.7768, allocations: 1.532 MB / 0.7759 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.777, allocations: 45.78 kB / 0.7759 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/0.7777, allocations: 0.8825 MB / 0.7768 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.778, allocations: 215.6 kB / 0.777 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.7783, allocations: 210.1 kB / 0.7772 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7785, allocations: 347.3 kB / 0.7775 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.7794, allocations: 375.7 kB / 0.7779 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.7806, allocations: 0.7504 MB / 0.7786 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.7826, allocations: 1.113 MB / 0.7797 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.7826, allocations: 3.438 kB / 0.7797 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003109/0.7857, allocations: 1.283 MB / 0.781 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.7858, allocations: 38.86 kB / 0.781 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.7858, allocations: 11.47 kB / 0.781 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/0.7858, allocations: 25.83 kB / 0.781 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/0.7868, allocations: 251.2 kB / 0.7813 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/0.7869, allocations: 23.23 kB / 0.7813 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.7883, allocations: 137.7 kB / 0.7814 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.7884, allocations: 55.77 kB / 0.7815 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00164/0.7901, allocations: 0.671 MB / 0.7821 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.7911, allocations: 0.7379 MB / 0.7829 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001973/0.7931, allocations: 1.086 MB / 0.7839 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.606e-06/0.7931, allocations: 3.156 kB / 0.7839 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.00298/0.7961, allocations: 1.26 MB / 0.7852 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.7962, allocations: 35.23 kB / 0.7852 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7962, allocations: 10.94 kB / 0.7852 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7962, allocations: 15.19 kB / 0.7852 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009398/0.7972, allocations: 260.4 kB / 0.7855 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.7972, allocations: 20.06 kB / 0.7855 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.7987, allocations: 127.6 kB / 0.7856 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.7988, allocations: 52.16 kB / 0.7857 GB, free: 13.9 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.0003921/0.7992, allocations: 242.6 kB / 0.7859 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.7995, allocations: 168.2 kB / 0.7861 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.8022, allocations: 1.113 MB / 0.7871 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.8022, allocations: 8.984 kB / 0.7871 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8022, allocations: 0.7188 kB / 0.7871 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/0.8041, allocations: 0.9605 MB / 0.7881 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.8093, allocations: 2.407 MB / 0.7904 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8094, allocations: 0 / 0.7904 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.8101, allocations: 141 kB / 0.7906 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.8103, allocations: 29.98 kB / 0.7906 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.8103, allocations: 26.98 kB / 0.7906 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.8115, allocations: 1.417 MB / 0.792 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8116, allocations: 2.062 kB / 0.792 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.815, allocations: 1.54 MB / 0.7935 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.8162, allocations: 347.8 kB / 0.7938 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.8165, allocations: 15.88 kB / 0.7939 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.8175, allocations: 57.17 kB / 0.7939 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.8176, allocations: 54.09 kB / 0.794 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/0.8177, allocations: 32.45 kB / 0.794 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001726/0.8194, allocations: 1.094 MB / 0.7951 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8194, allocations: 0 / 0.7951 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003188/0.8226, allocations: 0.859 MB / 0.7959 GB, free: 10.7 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.00203/0.8247, allocations: 0.7376 MB / 0.7966 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003586/0.8283, allocations: 1.582 MB / 0.7982 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.8283, allocations: 0 / 0.7982 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8295, allocations: 0.5387 MB / 0.7987 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/0.8333, allocations: 0.7621 MB / 0.7994 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/0.8399, allocations: 3.104 MB / 0.8025 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.841, allocations: 1.355 MB / 0.8038 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.8417, allocations: 151.2 kB / 0.8039 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.8417, allocations: 4 kB / 0.8039 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.0511/0.8928, allocations: 33.42 MB / 0.8366 GB, free: 12.68 MB / 0.6231 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)