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-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_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.0008797/0.0008797, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000921/0.0009211, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8476/0.8476, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 11.98 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 82.29 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.2767/0.4191, allocations: 56.15 MB / 0.642 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.4354, allocations: 14.55 MB / 0.6562 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.4381, allocations: 83.22 kB / 0.6563 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.4409, allocations: 0.9607 MB / 0.6573 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.4479, allocations: 2.705 MB / 0.6599 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005427/0.4534, allocations: 2.201 MB / 0.662 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005713/0.4591, allocations: 3.131 MB / 0.6651 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.4614, allocations: 1.364 MB / 0.6664 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.4647, allocations: 1.469 MB / 0.6679 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.4667, allocations: 0.9751 MB / 0.6688 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.467, allocations: 73.66 kB / 0.6689 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003367/0.4704, allocations: 1.339 MB / 0.6702 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005071/0.4709, allocations: 408.1 kB / 0.6706 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005898/0.4715, allocations: 440 kB / 0.671 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.4751, allocations: 2.589 MB / 0.6735 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4751, allocations: 0 / 0.6735 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4751, allocations: 4.938 kB / 0.6735 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.511e-05/0.4752, allocations: 0 / 0.6735 GB, free: 2.102 MB / 0.4981 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.004198/0.4794, allocations: 2.304 MB / 0.6758 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.4794, allocations: 8.656 kB / 0.6758 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4808, allocations: 393.4 kB / 0.6762 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.4841, allocations: 1.664 MB / 0.6778 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/0.4846, allocations: 164.6 kB / 0.678 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.4848, allocations: 137.4 kB / 0.6781 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.4876, allocations: 1.424 MB / 0.6795 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.4877, allocations: 1.562 kB / 0.6795 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4878, allocations: 56.81 kB / 0.6795 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.4879, allocations: 49.73 kB / 0.6796 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4903, allocations: 1.131 MB / 0.6807 GB, free: 14.36 MB / 0.5137 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.009381/0.4997, allocations: 7.426 MB / 0.6879 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.5019, allocations: 1.374 MB / 0.6893 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004125/0.5061, allocations: 2.626 MB / 0.6918 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.507, allocations: 462.9 kB / 0.6923 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005687/0.5076, allocations: 98.95 kB / 0.6924 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.5076, allocations: 1.375 kB / 0.6924 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.00288/0.5105, allocations: 1.283 MB / 0.6936 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5105, allocations: 59.28 kB / 0.6937 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.5126, allocations: 1.538 MB / 0.6952 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5127, allocations: 51.81 kB / 0.6952 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/0.5134, allocations: 0.8874 MB / 0.6961 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.5136, allocations: 230.1 kB / 0.6963 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.5137, allocations: 20.72 kB / 0.6963 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5138, allocations: 343.3 kB / 0.6967 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/0.5146, allocations: 376.3 kB / 0.697 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.5157, allocations: 0.7179 MB / 0.6977 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/0.5167, allocations: 480.6 kB / 0.6982 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.5167, allocations: 3.031 kB / 0.6982 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002472/0.5192, allocations: 1.276 MB / 0.6994 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.5205, allocations: 3.824 MB / 0.7032 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5205, allocations: 9.188 kB / 0.7032 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.5206, allocations: 16.09 kB / 0.7032 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5216, allocations: 271 kB / 0.7035 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.5216, allocations: 18.59 kB / 0.7035 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5232, allocations: 154.5 kB / 0.7036 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5233, allocations: 52.45 kB / 0.7037 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.5233, allocations: 3.406 kB / 0.7037 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002199/0.5255, allocations: 1.107 MB / 0.7048 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5255, allocations: 9.594 kB / 0.7048 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5255, allocations: 15.59 kB / 0.7048 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/0.5265, allocations: 270 kB / 0.705 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.5265, allocations: 18.16 kB / 0.7051 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5278, allocations: 139.7 kB / 0.7052 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.5279, allocations: 55.23 kB / 0.7052 GB, free: 12.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009074/0.5288, allocations: 495.9 kB / 0.7057 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.529, allocations: 165.1 kB / 0.7059 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5315, allocations: 1.136 MB / 0.707 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5315, allocations: 16.05 kB / 0.707 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5315, allocations: 0 / 0.707 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001748/0.5333, allocations: 0.8315 MB / 0.7078 GB, free: 10.99 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.00455/0.5378, allocations: 2.645 MB / 0.7104 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5379, allocations: 5.328 kB / 0.7104 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.5386, allocations: 164.6 kB / 0.7106 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.5388, allocations: 39.23 kB / 0.7106 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/0.5389, allocations: 26.48 kB / 0.7106 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.5399, allocations: 1.386 MB / 0.712 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.54, allocations: 2.75 kB / 0.712 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.5431, allocations: 1.776 MB / 0.7137 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/0.5438, allocations: 388.5 kB / 0.7141 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.544, allocations: 21.16 kB / 0.7141 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5451, allocations: 119.5 kB / 0.7142 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5452, allocations: 69.23 kB / 0.7143 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.5453, allocations: 39.19 kB / 0.7143 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001438/0.5468, allocations: 1.112 MB / 0.7154 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5468, allocations: 0 / 0.7154 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002609/0.5494, allocations: 0.9704 MB / 0.7163 GB, free: 5.234 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.5504, allocations: 0.5432 MB / 0.7169 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003071/0.5535, allocations: 1.605 MB / 0.7184 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5535, allocations: 5.312 kB / 0.7185 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.5546, allocations: 0.5823 MB / 0.719 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.5581, allocations: 0.839 MB / 0.7198 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.5633, allocations: 3.856 MB / 0.7236 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/0.5643, allocations: 1.44 MB / 0.725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001679/0.5659, allocations: 430.6 kB / 0.7254 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.5663, allocations: 151.4 kB / 0.7256 GB, free: 12.38 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.5663, allocations: 3.938 kB / 0.7256 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Templates: time 0.05057/0.6169, allocations: 33.51 MB / 0.7583 GB, free: 11.28 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: