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.001069/0.001069, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.000963/0.000963, allocations: 168.7 kB / 15.95 MB, free: 204 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.3 MB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 11.98 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.32 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.3887/0.5477, allocations: 61.7 MB / 0.6476 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.5678, allocations: 15.69 MB / 0.663 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.5706, allocations: 82.75 kB / 0.663 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.5729, allocations: 0.7924 MB / 0.6638 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.5779, allocations: 2.116 MB / 0.6659 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004918/0.5828, allocations: 1.755 MB / 0.6676 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009484/0.5923, allocations: 5.964 MB / 0.6734 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.5959, allocations: 1.361 MB / 0.6747 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.6009, allocations: 1.675 MB / 0.6764 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.604, allocations: 1.368 MB / 0.6777 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.6044, allocations: 74.88 kB / 0.6778 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.6084, allocations: 1.454 MB / 0.6792 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.6092, allocations: 432.5 kB / 0.6796 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.6102, allocations: 439.6 kB / 0.68 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.6146, allocations: 2.645 MB / 0.6826 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6146, allocations: 0 / 0.6826 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6146, allocations: 3.938 kB / 0.6826 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.033e-05/0.6147, allocations: 0 / 0.6826 GB, free: 12.93 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.005344/0.62, allocations: 2.331 MB / 0.6849 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6201, allocations: 9.281 kB / 0.6849 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.6216, allocations: 384.4 kB / 0.6853 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.6255, allocations: 1.74 MB / 0.687 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.6259, allocations: 165.1 kB / 0.6871 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.6261, allocations: 136.3 kB / 0.6873 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.629, allocations: 1.444 MB / 0.6887 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.629, allocations: 1.562 kB / 0.6887 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.6292, allocations: 53.03 kB / 0.6887 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.6292, allocations: 50.47 kB / 0.6888 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.6318, allocations: 1.14 MB / 0.6899 GB, free: 9.133 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.009032/0.6409, allocations: 7.379 MB / 0.6971 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.6431, allocations: 1.377 MB / 0.6984 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009245/0.644, allocations: 465.8 kB / 0.6989 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004195/0.6482, allocations: 2.622 MB / 0.7014 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.6493, allocations: 0.4956 MB / 0.7019 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006055/0.6499, allocations: 86.41 kB / 0.702 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.445e-06/0.65, allocations: 1.094 kB / 0.702 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003073/0.653, allocations: 1.282 MB / 0.7033 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.6531, allocations: 119.1 kB / 0.7034 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.6553, allocations: 1.488 MB / 0.7048 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.6555, allocations: 43.42 kB / 0.7049 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008075/0.6563, allocations: 0.8864 MB / 0.7057 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.6565, allocations: 229.4 kB / 0.706 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.6566, allocations: 24.23 kB / 0.706 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6567, allocations: 347.6 kB / 0.7063 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008792/0.6576, allocations: 379.2 kB / 0.7067 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.6587, allocations: 0.7231 MB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6598, allocations: 497.6 kB / 0.7079 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.6598, allocations: 3.062 kB / 0.7079 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002676/0.6625, allocations: 1.272 MB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.6627, allocations: 405.6 kB / 0.7095 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.6628, allocations: 14.53 kB / 0.7095 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.6628, allocations: 16.41 kB / 0.7095 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.6638, allocations: 263.9 kB / 0.7098 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.6638, allocations: 20.38 kB / 0.7098 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6653, allocations: 134.5 kB / 0.7099 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.6654, allocations: 54.88 kB / 0.71 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.6654, allocations: 2.781 kB / 0.71 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002294/0.6677, allocations: 1.11 MB / 0.7111 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6678, allocations: 9.625 kB / 0.7111 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6678, allocations: 16.5 kB / 0.7111 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009039/0.6687, allocations: 258.1 kB / 0.7113 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.6687, allocations: 23 kB / 0.7113 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6699, allocations: 137.3 kB / 0.7115 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.67, allocations: 50.48 kB / 0.7115 GB, free: 9.348 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 119 * 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.0009921/0.671, allocations: 488.5 kB / 0.712 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.6713, allocations: 172.5 kB / 0.7122 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.6736, allocations: 1.11 MB / 0.7132 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6737, allocations: 13.97 kB / 0.7133 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6737, allocations: 0 / 0.7133 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/0.6753, allocations: 0.8231 MB / 0.7141 GB, free: 7.852 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.004311/0.6796, allocations: 2.726 MB / 0.7167 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6796, allocations: 0 / 0.7167 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.6804, allocations: 166.5 kB / 0.7169 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.6806, allocations: 37.42 kB / 0.7169 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.6806, allocations: 21.95 kB / 0.7169 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.6817, allocations: 1.375 MB / 0.7183 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.6817, allocations: 3.094 kB / 0.7183 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.6848, allocations: 1.64 MB / 0.7199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.6855, allocations: 370.6 kB / 0.7202 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.6858, allocations: 16 kB / 0.7203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6868, allocations: 131.8 kB / 0.7204 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.687, allocations: 64.42 kB / 0.7204 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.6871, allocations: 27.98 kB / 0.7205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001654/0.6887, allocations: 1.074 MB / 0.7215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6887, allocations: 0 / 0.7215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002896/0.6916, allocations: 0.9549 MB / 0.7224 GB, free: 484 kB / 0.5294 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 (75): * Single equations (assignments): 67 * 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.001056/0.6927, allocations: 498.4 kB / 0.7229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003194/0.6959, allocations: 1.612 MB / 0.7245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6959, allocations: 384 / 0.7245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6971, allocations: 0.5862 MB / 0.7251 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/0.7006, allocations: 0.8547 MB / 0.7259 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006283/0.7069, allocations: 3.872 MB / 0.7297 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/0.7079, allocations: 1.401 MB / 0.7311 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001829/0.7098, allocations: 427.1 kB / 0.7315 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.7101, allocations: 139.4 kB / 0.7316 GB, free: 7.008 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.7102, allocations: 0 / 0.7316 GB, free: 7.008 MB / 0.545 GB Notification: Performance of Templates: time 0.05678/0.7669, allocations: 32.52 MB / 0.7634 GB, free: 6.898 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)