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.001199/0.0012, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001361/0.001361, allocations: 190.9 kB / 16.25 MB, free: 6.148 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9302/0.9302, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.31 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1814, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.3634/0.5449, allocations: 66.39 MB / 0.6487 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.5656, allocations: 16.62 MB / 0.6649 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.5694, allocations: 90.66 kB / 0.665 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003606/0.5731, allocations: 1.026 MB / 0.666 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007812/0.581, allocations: 2.472 MB / 0.6684 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006566/0.5875, allocations: 2.135 MB / 0.6705 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008751/0.5963, allocations: 5.395 MB / 0.6758 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.5996, allocations: 1.894 MB / 0.6776 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.6051, allocations: 2.118 MB / 0.6797 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.608, allocations: 1.546 MB / 0.6812 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003947/0.6084, allocations: 190.4 kB / 0.6814 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.6129, allocations: 1.976 MB / 0.6833 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009151/0.6139, allocations: 0.5611 MB / 0.6839 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.6161, allocations: 1.144 MB / 0.685 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007838/0.624, allocations: 3.619 MB / 0.6885 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.624, allocations: 1.406 kB / 0.6885 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.456e-06/0.624, allocations: 0 / 0.6885 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001055/0.6241, allocations: 3.938 kB / 0.6885 GB, free: 6.035 MB / 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.006664/0.6308, allocations: 2.677 MB / 0.6912 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6309, allocations: 9.5 kB / 0.6912 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.6325, allocations: 369.6 kB / 0.6915 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.6364, allocations: 1.814 MB / 0.6933 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004091/0.6368, allocations: 156.3 kB / 0.6934 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.637, allocations: 136.3 kB / 0.6936 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.6401, allocations: 1.427 MB / 0.695 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.6401, allocations: 5.344 kB / 0.695 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6403, allocations: 55.67 kB / 0.695 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.6404, allocations: 46.27 kB / 0.6951 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.6429, allocations: 1.117 MB / 0.6962 GB, free: 1.945 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.01043/0.6533, allocations: 7.346 MB / 0.7033 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.6557, allocations: 1.334 MB / 0.7046 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.6567, allocations: 457.3 kB / 0.7051 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005517/0.6623, allocations: 2.627 MB / 0.7076 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6634, allocations: 497.3 kB / 0.7081 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007585/0.6642, allocations: 79.08 kB / 0.7082 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 3.416e-06/0.6642, allocations: 0 / 0.7082 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003348/0.6676, allocations: 1.227 MB / 0.7094 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.6676, allocations: 119.2 kB / 0.7095 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.67, allocations: 1.449 MB / 0.7109 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.6701, allocations: 43.48 kB / 0.711 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/0.6709, allocations: 0.8989 MB / 0.7118 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.6712, allocations: 224.8 kB / 0.712 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.6716, allocations: 208.7 kB / 0.7122 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6717, allocations: 347.5 kB / 0.7126 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.6726, allocations: 387.8 kB / 0.7129 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.6738, allocations: 0.7266 MB / 0.7137 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.6759, allocations: 1.104 MB / 0.7147 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.676, allocations: 2.25 kB / 0.7147 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002822/0.6788, allocations: 1.289 MB / 0.716 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.6788, allocations: 40.81 kB / 0.716 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.6789, allocations: 12.62 kB / 0.716 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.6789, allocations: 13.91 kB / 0.7161 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.6799, allocations: 252.2 kB / 0.7163 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.6799, allocations: 24.14 kB / 0.7163 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.6814, allocations: 124.6 kB / 0.7164 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6815, allocations: 57.89 kB / 0.7165 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001505/0.683, allocations: 0.6863 MB / 0.7172 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001155/0.6842, allocations: 0.7158 MB / 0.7179 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001923/0.6861, allocations: 1.071 MB / 0.7189 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.317e-06/0.6862, allocations: 9.094 kB / 0.7189 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.002758/0.6889, allocations: 1.261 MB / 0.7202 GB, free: 128 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.689, allocations: 37.69 kB / 0.7202 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.689, allocations: 12 kB / 0.7202 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.689, allocations: 16 kB / 0.7202 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.69, allocations: 248.2 kB / 0.7205 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.69, allocations: 26.97 kB / 0.7205 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6915, allocations: 120.5 kB / 0.7206 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.6916, allocations: 47.98 kB / 0.7206 GB, free: 15.62 MB / 0.545 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.0003402/0.692, allocations: 259.2 kB / 0.7209 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.6924, allocations: 165.9 kB / 0.721 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.6952, allocations: 1.08 MB / 0.7221 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.6952, allocations: 11.98 kB / 0.7221 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6952, allocations: 0.875 kB / 0.7221 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/0.6971, allocations: 0.8042 MB / 0.7229 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/0.7025, allocations: 2.68 MB / 0.7255 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.7025, allocations: 4 kB / 0.7255 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.7034, allocations: 160 kB / 0.7257 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.7035, allocations: 28.84 kB / 0.7257 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.7036, allocations: 25.11 kB / 0.7257 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.7048, allocations: 1.425 MB / 0.7271 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.7048, allocations: 4 kB / 0.7271 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/0.7083, allocations: 1.606 MB / 0.7287 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.7094, allocations: 350.6 kB / 0.729 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/0.7099, allocations: 23.94 kB / 0.729 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.7113, allocations: 111.8 kB / 0.7291 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7115, allocations: 60.52 kB / 0.7292 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.7116, allocations: 31.98 kB / 0.7292 GB, free: 6.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001952/0.7136, allocations: 1.058 MB / 0.7303 GB, free: 5.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7136, allocations: 0 / 0.7303 GB, free: 5.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003548/0.7171, allocations: 0.9471 MB / 0.7312 GB, free: 4.465 MB / 0.545 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.001526/0.7187, allocations: 0.5064 MB / 0.7317 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003996/0.7227, allocations: 1.679 MB / 0.7333 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7227, allocations: 5.5 kB / 0.7333 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.724, allocations: 0.5594 MB / 0.7339 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/0.7284, allocations: 0.9022 MB / 0.7348 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.7351, allocations: 3.857 MB / 0.7385 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.7363, allocations: 1.405 MB / 0.7399 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002084/0.7384, allocations: 418.5 kB / 0.7403 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.7388, allocations: 143.4 kB / 0.7404 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.7389, allocations: 0 / 0.7404 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.05782/0.7967, allocations: 33.99 MB / 0.7736 GB, free: 9.371 MB / 0.5919 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)