Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 114.8 kB / 16.42 MB, free: 6.047 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.001893/0.001893, allocations: 186.8 kB / 17.35 MB, free: 5.625 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8509/0.8509, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.36 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 80.2 MB / 0.6604 GB, free: 10.27 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_u): time 0.06201/0.2146, allocations: 66.99 MB / 0.7258 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.2391, allocations: 16.75 MB / 0.7421 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.2425, allocations: 91.5 kB / 0.7422 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.2461, allocations: 1.192 MB / 0.7434 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00774/0.2538, allocations: 2.775 MB / 0.7461 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3306/0.5844, allocations: 2.345 MB / 0.7484 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008205/0.5926, allocations: 5.363 MB / 0.7536 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.5959, allocations: 1.903 MB / 0.7555 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005495/0.6014, allocations: 2.149 MB / 0.7576 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.6043, allocations: 1.488 MB / 0.759 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.6047, allocations: 189.8 kB / 0.7592 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.6091, allocations: 1.971 MB / 0.7611 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/0.6097, allocations: 0.5536 MB / 0.7617 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.6113, allocations: 1.144 MB / 0.7628 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006544/0.6178, allocations: 3.661 MB / 0.7664 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6178, allocations: 0 / 0.7664 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6178, allocations: 0 / 0.7664 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.419e-05/0.6179, allocations: 0 / 0.7664 GB, free: 13.36 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005093/0.623, allocations: 2.751 MB / 0.7691 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6231, allocations: 8.781 kB / 0.7691 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.6246, allocations: 386.8 kB / 0.7694 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.6277, allocations: 1.835 MB / 0.7712 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.6278, allocations: 98.56 kB / 0.7713 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.628, allocations: 141.1 kB / 0.7715 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.6304, allocations: 1.431 MB / 0.7729 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.6305, allocations: 1.312 kB / 0.7729 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.6306, allocations: 52.22 kB / 0.7729 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.6307, allocations: 48.44 kB / 0.773 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.633, allocations: 1.096 MB / 0.774 GB, free: 10.99 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.008357/0.6413, allocations: 7.36 MB / 0.7812 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.6433, allocations: 1.301 MB / 0.7825 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009943/0.6443, allocations: 447.2 kB / 0.7829 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003927/0.6483, allocations: 2.636 MB / 0.7855 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.6492, allocations: 487.6 kB / 0.7859 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.324e-06/0.6492, allocations: 0 / 0.7859 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.002779/0.652, allocations: 1.214 MB / 0.7871 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.6521, allocations: 115.5 kB / 0.7872 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.6539, allocations: 1.479 MB / 0.7887 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.6539, allocations: 46.45 kB / 0.7887 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.6545, allocations: 0.9117 MB / 0.7896 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6547, allocations: 236 kB / 0.7898 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.655, allocations: 208 kB / 0.79 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.655, allocations: 343.5 kB / 0.7904 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.6558, allocations: 381.7 kB / 0.7907 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.6568, allocations: 0.7253 MB / 0.7914 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.6584, allocations: 1.084 MB / 0.7925 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.6584, allocations: 5.469 kB / 0.7925 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002289/0.6607, allocations: 1.276 MB / 0.7938 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.6608, allocations: 45.05 kB / 0.7938 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.6608, allocations: 9.594 kB / 0.7938 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.6608, allocations: 15.12 kB / 0.7938 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.6617, allocations: 249.9 kB / 0.7941 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.6618, allocations: 20.36 kB / 0.7941 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.6628, allocations: 132.9 kB / 0.7942 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.6629, allocations: 50.91 kB / 0.7943 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/0.6641, allocations: 0.6837 MB / 0.7949 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008908/0.665, allocations: 0.7066 MB / 0.7956 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001578/0.6666, allocations: 1.061 MB / 0.7966 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/0.6666, allocations: 4.766 kB / 0.7967 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002162/0.6688, allocations: 1.245 MB / 0.7979 GB, free: 180 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.6689, allocations: 45.27 kB / 0.7979 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6689, allocations: 18.09 kB / 0.7979 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6689, allocations: 14.09 kB / 0.7979 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008566/0.6698, allocations: 238.9 kB / 0.7982 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.6698, allocations: 29.88 kB / 0.7982 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.6707, allocations: 116.2 kB / 0.7983 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.6708, allocations: 51.61 kB / 0.7984 GB, free: 64 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0002646/0.6711, allocations: 243.6 kB / 0.7986 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.6714, allocations: 181.8 kB / 0.7988 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.6739, allocations: 1.058 MB / 0.7998 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/0.6755, allocations: 0.7709 MB / 0.8006 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6755, allocations: 2.562 kB / 0.8006 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/0.6761, allocations: 341.5 kB / 0.8009 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.6763, allocations: 18 kB / 0.8009 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.6771, allocations: 57.81 kB / 0.801 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6772, allocations: 54.47 kB / 0.801 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002501/0.6797, allocations: 1.175 MB / 0.8022 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002899/0.6826, allocations: 1.718 MB / 0.8038 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008164/0.6835, allocations: 412.3 kB / 0.8042 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001395/0.6849, allocations: 0.9905 MB / 0.8052 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Backend: time 2.91e-07/0.6849, allocations: 0 / 0.8052 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005482/0.6904, allocations: 1.866 MB / 0.807 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006291/0.6967, allocations: 4.027 MB / 0.8109 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of Templates: time 0.06205/0.7587, allocations: 37.43 MB / 0.8475 GB, free: 4.066 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)