Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001361/0.001361, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001326/0.001326, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8301/0.8301, allocations: 135.1 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.84 kB / 0.5055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4245, allocations: 80.9 MB / 0.5845 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05501/0.4795, allocations: 66.4 MB / 0.6493 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02355/0.5031, allocations: 16.62 MB / 0.6656 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003817/0.507, allocations: 91.44 kB / 0.6657 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.5108, allocations: 1.03 MB / 0.6667 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007922/0.5188, allocations: 2.468 MB / 0.6691 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.5251, allocations: 2.134 MB / 0.6712 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007588/0.5327, allocations: 5.39 MB / 0.6764 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.5358, allocations: 1.903 MB / 0.6783 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.5413, allocations: 2.122 MB / 0.6804 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.544, allocations: 1.56 MB / 0.6819 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004622/0.5445, allocations: 188 kB / 0.6821 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.5486, allocations: 1.977 MB / 0.684 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.5494, allocations: 0.5606 MB / 0.6845 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.551, allocations: 1.139 MB / 0.6856 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004183/0.5552, allocations: 2.768 MB / 0.6883 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5552, allocations: 4 kB / 0.6884 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5552, allocations: 3.938 kB / 0.6884 GB, free: 116 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.5553, allocations: 4 kB / 0.6884 GB, free: 112 kB / 0.5137 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.004898/0.5602, allocations: 2.679 MB / 0.691 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.5602, allocations: 9.109 kB / 0.691 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5617, allocations: 369.9 kB / 0.6913 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.5651, allocations: 1.811 MB / 0.6931 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.5654, allocations: 158.4 kB / 0.6933 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.5656, allocations: 132 kB / 0.6934 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5683, allocations: 1.431 MB / 0.6948 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.5683, allocations: 0 / 0.6948 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5684, allocations: 52 kB / 0.6948 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.5685, allocations: 46.31 kB / 0.6949 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.5708, allocations: 1.121 MB / 0.696 GB, free: 8.094 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 preOpt removeSimpleEquations (simulation): time 0.009472/0.5803, allocations: 7.346 MB / 0.7031 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.5824, allocations: 1.316 MB / 0.7044 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.5834, allocations: 464.6 kB / 0.7049 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004886/0.5883, allocations: 2.638 MB / 0.7074 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.5894, allocations: 0.4908 MB / 0.7079 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006827/0.5901, allocations: 71.36 kB / 0.708 GB, free: 10.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=64): time 8.145e-06/0.5901, allocations: 0 / 0.708 GB, free: 10.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=64): time 0.003125/0.5933, allocations: 1.233 MB / 0.7092 GB, free: 9.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.5933, allocations: 115.4 kB / 0.7093 GB, free: 9.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.5956, allocations: 1.453 MB / 0.7107 GB, free: 7.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.5957, allocations: 45.7 kB / 0.7108 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008195/0.5966, allocations: 0.8918 MB / 0.7116 GB, free: 7.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.5968, allocations: 228.8 kB / 0.7119 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.5972, allocations: 206.4 kB / 0.7121 GB, free: 6.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5973, allocations: 345.9 kB / 0.7124 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.5982, allocations: 396.6 kB / 0.7128 GB, free: 5.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.5995, allocations: 0.7234 MB / 0.7135 GB, free: 4.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.6015, allocations: 1.101 MB / 0.7145 GB, free: 3.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.6015, allocations: 4 kB / 0.7146 GB, free: 3.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002958/0.6045, allocations: 1.286 MB / 0.7158 GB, free: 2.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.6046, allocations: 41.7 kB / 0.7158 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.6046, allocations: 8.094 kB / 0.7159 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.6046, allocations: 19.94 kB / 0.7159 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/0.6056, allocations: 251.6 kB / 0.7161 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.6056, allocations: 27.94 kB / 0.7161 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.6071, allocations: 124.4 kB / 0.7163 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6073, allocations: 51.98 kB / 0.7163 GB, free: 1.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001521/0.6088, allocations: 0.697 MB / 0.717 GB, free: 1.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001125/0.6099, allocations: 0.7194 MB / 0.7177 GB, free: 336 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00196/0.6119, allocations: 1.066 MB / 0.7187 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.887e-06/0.6119, allocations: 4 kB / 0.7187 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.002825/0.6147, allocations: 1.262 MB / 0.72 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.6148, allocations: 36.36 kB / 0.72 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.6148, allocations: 12 kB / 0.72 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.6149, allocations: 12 kB / 0.72 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009491/0.6158, allocations: 256.2 kB / 0.7203 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.6159, allocations: 19.94 kB / 0.7203 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.6174, allocations: 124.5 kB / 0.7204 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6175, allocations: 47.98 kB / 0.7205 GB, free: 13.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (122): * Single equations (assignments): 120 * 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.0003301/0.6178, allocations: 251.8 kB / 0.7207 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/0.6183, allocations: 169.9 kB / 0.7209 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.621, allocations: 1.086 MB / 0.7219 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.6211, allocations: 15.98 kB / 0.7219 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6211, allocations: 3.938 kB / 0.7219 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/0.6228, allocations: 0.8042 MB / 0.7227 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005421/0.6283, allocations: 2.669 MB / 0.7253 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6283, allocations: 0 / 0.7253 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.6291, allocations: 168 kB / 0.7255 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.6293, allocations: 24.84 kB / 0.7255 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.6294, allocations: 23.98 kB / 0.7255 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.6306, allocations: 1.429 MB / 0.7269 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6306, allocations: 4 kB / 0.7269 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.634, allocations: 1.61 MB / 0.7285 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/0.6349, allocations: 346.6 kB / 0.7288 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/0.6354, allocations: 15.98 kB / 0.7289 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6367, allocations: 115.8 kB / 0.729 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6368, allocations: 56.58 kB / 0.729 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.6369, allocations: 35.97 kB / 0.7291 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001899/0.6388, allocations: 1.054 MB / 0.7301 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6389, allocations: 4 kB / 0.7301 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003553/0.6424, allocations: 0.9509 MB / 0.731 GB, free: 2.176 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001692/0.6441, allocations: 0.5054 MB / 0.7315 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.6483, allocations: 1.679 MB / 0.7331 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6483, allocations: 1.5 kB / 0.7331 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.6495, allocations: 0.5533 MB / 0.7337 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/0.654, allocations: 0.9085 MB / 0.7346 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/0.6608, allocations: 3.925 MB / 0.7384 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.6622, allocations: 1.388 MB / 0.7398 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.6628, allocations: 151.4 kB / 0.7399 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6628, allocations: 0 / 0.7399 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.39/1.053, allocations: 34.8 MB / 0.7739 GB, free: 140 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)