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.001449/0.001449, allocations: 116.4 kB / 16.42 MB, free: 6.5 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.001457/0.001457, allocations: 183.9 kB / 17.35 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.39 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1379, allocations: 80.2 MB / 0.6604 GB, free: 10.25 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.06912/0.2071, allocations: 66.99 MB / 0.7258 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.2313, allocations: 16.75 MB / 0.7421 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.2349, allocations: 99.44 kB / 0.7422 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.2386, allocations: 1.188 MB / 0.7434 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007111/0.2457, allocations: 2.772 MB / 0.7461 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3684/0.6141, allocations: 2.35 MB / 0.7484 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00817/0.6223, allocations: 5.358 MB / 0.7536 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/0.6259, allocations: 1.905 MB / 0.7555 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.6319, allocations: 2.15 MB / 0.7576 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/0.6355, allocations: 1.487 MB / 0.759 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.6362, allocations: 190 kB / 0.7592 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.6412, allocations: 1.975 MB / 0.7611 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.6421, allocations: 0.5539 MB / 0.7617 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.6441, allocations: 1.139 MB / 0.7628 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00772/0.6519, allocations: 3.644 MB / 0.7664 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6519, allocations: 5.188 kB / 0.7664 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6519, allocations: 0 / 0.7664 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.699e-05/0.652, allocations: 0 / 0.7664 GB, free: 13.42 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.006148/0.6582, allocations: 2.678 MB / 0.769 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.6583, allocations: 9.312 kB / 0.769 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.6601, allocations: 377.5 kB / 0.7693 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/0.664, allocations: 1.808 MB / 0.7711 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.6641, allocations: 97.72 kB / 0.7712 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.6643, allocations: 141.5 kB / 0.7713 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.6671, allocations: 1.426 MB / 0.7727 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.6672, allocations: 1.312 kB / 0.7727 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.6673, allocations: 55.59 kB / 0.7728 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-05/0.6674, allocations: 45.17 kB / 0.7728 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.6697, allocations: 1.092 MB / 0.7739 GB, free: 11.15 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.008673/0.6784, allocations: 7.363 MB / 0.7811 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.6802, allocations: 1.292 MB / 0.7823 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.6811, allocations: 450 kB / 0.7828 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004638/0.6857, allocations: 2.63 MB / 0.7853 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/0.6871, allocations: 492.2 kB / 0.7858 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.497e-06/0.6872, allocations: 0 / 0.7858 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.003216/0.6904, allocations: 1.203 MB / 0.787 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.6904, allocations: 110.2 kB / 0.7871 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6924, allocations: 1.486 MB / 0.7885 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.6925, allocations: 45.64 kB / 0.7886 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.6933, allocations: 0.8963 MB / 0.7895 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.6936, allocations: 225.9 kB / 0.7897 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.6939, allocations: 208 kB / 0.7899 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.694, allocations: 342.6 kB / 0.7902 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.6948, allocations: 380.8 kB / 0.7906 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.6959, allocations: 0.7281 MB / 0.7913 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.6975, allocations: 1.079 MB / 0.7923 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.6975, allocations: 2.688 kB / 0.7923 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002324/0.6998, allocations: 1.267 MB / 0.7936 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.6999, allocations: 46.11 kB / 0.7936 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.6999, allocations: 8.5 kB / 0.7936 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6999, allocations: 16.28 kB / 0.7936 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.7008, allocations: 250 kB / 0.7939 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.7008, allocations: 22 kB / 0.7939 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.702, allocations: 137.3 kB / 0.794 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.7021, allocations: 54.61 kB / 0.7941 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.7033, allocations: 0.6816 MB / 0.7947 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008672/0.7042, allocations: 0.7044 MB / 0.7954 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001542/0.7058, allocations: 1.063 MB / 0.7965 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.7058, allocations: 2.656 kB / 0.7965 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002144/0.7079, allocations: 1.241 MB / 0.7977 GB, free: 356 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.708, allocations: 38.05 kB / 0.7977 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.708, allocations: 14.38 kB / 0.7977 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.708, allocations: 16.25 kB / 0.7977 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.7088, allocations: 243.1 kB / 0.798 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.7089, allocations: 23.62 kB / 0.798 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.7099, allocations: 111.1 kB / 0.7981 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.71, allocations: 49.86 kB / 0.7982 GB, free: 248 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.0002233/0.7102, allocations: 248.7 kB / 0.7984 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.7105, allocations: 173.9 kB / 0.7986 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.7127, allocations: 1.056 MB / 0.7996 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.7144, allocations: 0.7761 MB / 0.8003 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7144, allocations: 0 / 0.8003 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.715, allocations: 331.5 kB / 0.8007 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.7152, allocations: 17.91 kB / 0.8007 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.716, allocations: 57.36 kB / 0.8007 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7161, allocations: 57.83 kB / 0.8008 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002412/0.7185, allocations: 1.167 MB / 0.8019 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00279/0.7213, allocations: 1.717 MB / 0.8036 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007797/0.7221, allocations: 410.8 kB / 0.804 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001263/0.7234, allocations: 0.9935 MB / 0.805 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Backend: time 3.8e-07/0.7234, allocations: 0 / 0.805 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004717/0.7281, allocations: 1.855 MB / 0.8068 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 0.006066/0.7342, allocations: 3.966 MB / 0.8107 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of Templates: time 0.05905/0.7932, allocations: 37.43 MB / 0.8472 GB, free: 4.344 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)