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: 115.3 kB / 15.34 MB, free: 0.5156 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.001366/0.001366, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9208/0.9208, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.73 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 81.01 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.2874/0.4413, allocations: 66.39 MB / 0.6493 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.4599, allocations: 16.62 MB / 0.6656 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004081/0.464, allocations: 90.72 kB / 0.6656 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.4677, allocations: 1.027 MB / 0.6666 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007801/0.4755, allocations: 2.465 MB / 0.6691 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.4817, allocations: 2.135 MB / 0.6711 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009839/0.4915, allocations: 5.397 MB / 0.6764 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.4955, allocations: 1.905 MB / 0.6783 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006787/0.5023, allocations: 2.113 MB / 0.6803 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.5058, allocations: 1.552 MB / 0.6818 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.5063, allocations: 189.3 kB / 0.682 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004857/0.5112, allocations: 1.981 MB / 0.684 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008621/0.5121, allocations: 0.5571 MB / 0.6845 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.5141, allocations: 1.146 MB / 0.6856 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.5205, allocations: 3.617 MB / 0.6892 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5205, allocations: 4 kB / 0.6892 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5205, allocations: 0 / 0.6892 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.946e-05/0.5206, allocations: 1.344 kB / 0.6892 GB, free: 5.422 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.005532/0.5261, allocations: 2.68 MB / 0.6918 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5262, allocations: 9.375 kB / 0.6918 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.5277, allocations: 373.8 kB / 0.6921 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.5318, allocations: 1.804 MB / 0.6939 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.5322, allocations: 158.9 kB / 0.6941 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.5324, allocations: 132.9 kB / 0.6942 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.5355, allocations: 1.427 MB / 0.6956 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.5356, allocations: 7.031 kB / 0.6956 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.5357, allocations: 56.02 kB / 0.6956 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.806e-05/0.5358, allocations: 46.11 kB / 0.6957 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.5384, allocations: 1.117 MB / 0.6968 GB, free: 1.332 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.01299/0.5514, allocations: 7.343 MB / 0.7039 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.5538, allocations: 1.326 MB / 0.7052 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5548, allocations: 460.6 kB / 0.7057 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005766/0.5606, allocations: 2.632 MB / 0.7082 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5618, allocations: 0.4927 MB / 0.7087 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007859/0.5626, allocations: 71.42 kB / 0.7088 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 3.917e-06/0.5626, allocations: 0 / 0.7088 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003237/0.5658, allocations: 1.232 MB / 0.71 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.5659, allocations: 110.4 kB / 0.7101 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5679, allocations: 1.458 MB / 0.7115 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.696e-05/0.5681, allocations: 43.2 kB / 0.7116 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.5689, allocations: 0.8976 MB / 0.7124 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5692, allocations: 221.7 kB / 0.7127 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.5696, allocations: 209.3 kB / 0.7129 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5698, allocations: 346.7 kB / 0.7132 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009077/0.5707, allocations: 388.9 kB / 0.7136 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.5719, allocations: 0.7302 MB / 0.7143 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.574, allocations: 1.101 MB / 0.7153 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.574, allocations: 2.594 kB / 0.7154 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002789/0.5768, allocations: 1.294 MB / 0.7166 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.5769, allocations: 40.73 kB / 0.7167 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5769, allocations: 7.875 kB / 0.7167 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.5769, allocations: 14.31 kB / 0.7167 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.5778, allocations: 252.5 kB / 0.7169 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.5779, allocations: 20.38 kB / 0.7169 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5794, allocations: 127.5 kB / 0.7171 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.5795, allocations: 54.28 kB / 0.7171 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001516/0.581, allocations: 0.6878 MB / 0.7178 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001219/0.5822, allocations: 0.7157 MB / 0.7185 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002008/0.5843, allocations: 1.071 MB / 0.7195 GB, free: 460 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.849e-06/0.5843, allocations: 6.75 kB / 0.7195 GB, free: 456 kB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.002939/0.5872, allocations: 1.265 MB / 0.7208 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.5873, allocations: 33.7 kB / 0.7208 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5873, allocations: 12 kB / 0.7208 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5873, allocations: 16 kB / 0.7208 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/0.5883, allocations: 252.2 kB / 0.7211 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.5884, allocations: 19.94 kB / 0.7211 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.59, allocations: 124.5 kB / 0.7212 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5901, allocations: 47.98 kB / 0.7212 GB, free: 14.75 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.0003776/0.5905, allocations: 251 kB / 0.7215 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005072/0.591, allocations: 173.8 kB / 0.7217 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.5938, allocations: 1.091 MB / 0.7227 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.5939, allocations: 8 kB / 0.7227 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5939, allocations: 0 / 0.7227 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001891/0.5958, allocations: 0.8042 MB / 0.7235 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/0.6017, allocations: 2.677 MB / 0.7261 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.6018, allocations: 4 kB / 0.7261 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.6026, allocations: 163.9 kB / 0.7263 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.6027, allocations: 24.84 kB / 0.7263 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.6028, allocations: 27.98 kB / 0.7263 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.6042, allocations: 1.425 MB / 0.7277 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.6042, allocations: 4 kB / 0.7277 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.6078, allocations: 1.602 MB / 0.7293 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.6087, allocations: 350.6 kB / 0.7296 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005045/0.6092, allocations: 15.98 kB / 0.7296 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6106, allocations: 112.4 kB / 0.7298 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6108, allocations: 60.52 kB / 0.7298 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6109, allocations: 39.97 kB / 0.7299 GB, free: 5.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002002/0.6129, allocations: 1.046 MB / 0.7309 GB, free: 4.547 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6129, allocations: 4 kB / 0.7309 GB, free: 4.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003666/0.6166, allocations: 0.9509 MB / 0.7318 GB, free: 3.59 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.001649/0.6183, allocations: 0.5086 MB / 0.7323 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004173/0.6224, allocations: 1.675 MB / 0.7339 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.6225, allocations: 5.5 kB / 0.7339 GB, free: 1.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6238, allocations: 0.5572 MB / 0.7345 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/0.6287, allocations: 0.902 MB / 0.7354 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007357/0.6361, allocations: 3.861 MB / 0.7391 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.6376, allocations: 1.405 MB / 0.7405 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002226/0.6399, allocations: 421 kB / 0.7409 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.6404, allocations: 139.4 kB / 0.741 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.6404, allocations: 4 kB / 0.741 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.06174/0.7022, allocations: 34 MB / 0.7743 GB, free: 8.504 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)