Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.001121/0.001121, allocations: 193.2 kB / 16.91 MB, free: 5.758 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 64.14 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4275, allocations: 80.19 MB / 0.5802 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.01828/0.4458, allocations: 23.21 MB / 0.6029 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007589/0.4535, allocations: 6.777 MB / 0.6095 GB, free: 424 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.4548, allocations: 28.72 kB / 0.6095 GB, free: 396 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.4557, allocations: 283 kB / 0.6098 GB, free: 112 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.4585, allocations: 0.8388 MB / 0.6106 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.4605, allocations: 0.6972 MB / 0.6113 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003927/0.4644, allocations: 3.492 MB / 0.6147 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.4661, allocations: 1.307 MB / 0.616 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.4692, allocations: 1.216 MB / 0.6172 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.4707, allocations: 0.9568 MB / 0.6181 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.4709, allocations: 88 kB / 0.6182 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.4726, allocations: 0.7876 MB / 0.619 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.4729, allocations: 299 kB / 0.6192 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000834/0.4738, allocations: 0.6337 MB / 0.6199 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.4756, allocations: 1.481 MB / 0.6213 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4756, allocations: 0 / 0.6213 GB, free: 4.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4756, allocations: 0 / 0.6213 GB, free: 4.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4756, allocations: 3.938 kB / 0.6213 GB, free: 4.309 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002204/0.4778, allocations: 1.552 MB / 0.6228 GB, free: 2.707 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4779, allocations: 12.03 kB / 0.6228 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.4783, allocations: 139.4 kB / 0.623 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.4801, allocations: 1.197 MB / 0.6241 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4802, allocations: 65.94 kB / 0.6242 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.4803, allocations: 76 kB / 0.6243 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4819, allocations: 1.049 MB / 0.6253 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4819, allocations: 0 / 0.6253 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.482, allocations: 32 kB / 0.6253 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.482, allocations: 20 kB / 0.6253 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4832, allocations: 0.7688 MB / 0.6261 GB, free: 15.26 MB / 478.1 MB 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.004897/0.4881, allocations: 4.604 MB / 0.6306 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.4887, allocations: 392.4 kB / 0.631 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.489, allocations: 262 kB / 0.6312 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.4894, allocations: 429.8 kB / 0.6316 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4894, allocations: 42.83 kB / 0.6317 GB, free: 9.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.4895, allocations: 0 / 0.6317 GB, free: 9.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.00193/0.4914, allocations: 0.8698 MB / 0.6325 GB, free: 8.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4914, allocations: 59.41 kB / 0.6326 GB, free: 8.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4925, allocations: 0.9154 MB / 0.6335 GB, free: 7.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.4926, allocations: 33.7 kB / 0.6335 GB, free: 7.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.493, allocations: 0.5029 MB / 0.634 GB, free: 6.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.4931, allocations: 145.9 kB / 0.6341 GB, free: 6.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4933, allocations: 130 kB / 0.6342 GB, free: 6.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4935, allocations: 329.9 kB / 0.6346 GB, free: 6.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.4938, allocations: 234.9 kB / 0.6348 GB, free: 5.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.4943, allocations: 438.6 kB / 0.6352 GB, free: 5.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.495, allocations: 0.6629 MB / 0.6359 GB, free: 4.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.495, allocations: 0 / 0.6359 GB, free: 4.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001385/0.4964, allocations: 0.8214 MB / 0.6367 GB, free: 3.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4965, allocations: 8 kB / 0.6367 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4965, allocations: 4 kB / 0.6367 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.4969, allocations: 88.78 kB / 0.6368 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.4973, allocations: 111.8 kB / 0.6369 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000492/0.4978, allocations: 0.6266 MB / 0.6375 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.4986, allocations: 107.3 kB / 0.6376 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.4986, allocations: 28 kB / 0.6376 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007583/0.4994, allocations: 0.571 MB / 0.6382 GB, free: 2.156 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004494/0.4999, allocations: 434.3 kB / 0.6386 GB, free: 1.645 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007328/0.5006, allocations: 0.6686 MB / 0.6392 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.5006, allocations: 8.094 kB / 0.6392 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001202/0.5018, allocations: 0.7815 MB / 0.64 GB, free: 100 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5018, allocations: 8 kB / 0.64 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5019, allocations: 11.98 kB / 0.64 GB, free: 80 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.502, allocations: 61.28 kB / 0.6401 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.5024, allocations: 115.8 kB / 0.6402 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.5042, allocations: 1.884 MB / 0.642 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.505, allocations: 91.59 kB / 0.6421 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.505, allocations: 27.98 kB / 0.6421 GB, free: 13.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.5053, allocations: 220.9 kB / 0.6423 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.5054, allocations: 98.81 kB / 0.6424 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.5066, allocations: 0.6369 MB / 0.6431 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5066, allocations: 7.938 kB / 0.6431 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5066, allocations: 3.984 kB / 0.6431 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008196/0.5074, allocations: 0.8243 MB / 0.6439 GB, free: 11.86 MB / 494.1 MB 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.002401/0.5098, allocations: 1.669 MB / 0.6455 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5098, allocations: 0 / 0.6455 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.5102, allocations: 88.02 kB / 0.6456 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.5103, allocations: 40.81 kB / 0.6456 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.5104, allocations: 8 kB / 0.6456 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000371/0.5108, allocations: 0.5717 MB / 0.6462 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5108, allocations: 4.031 kB / 0.6462 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.512, allocations: 0.949 MB / 0.6471 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.5124, allocations: 243.9 kB / 0.6474 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.5125, allocations: 12 kB / 0.6474 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.5131, allocations: 71.83 kB / 0.6474 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.5131, allocations: 27.91 kB / 0.6475 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.5132, allocations: 27.97 kB / 0.6475 GB, free: 7.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007988/0.514, allocations: 0.6395 MB / 0.6481 GB, free: 7.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.514, allocations: 0 / 0.6481 GB, free: 7.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001748/0.5158, allocations: 0.5689 MB / 0.6487 GB, free: 6.789 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006953/0.5165, allocations: 297.1 kB / 0.649 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.5183, allocations: 1.11 MB / 0.65 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5184, allocations: 0.5625 kB / 0.65 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.5187, allocations: 243.7 kB / 0.6503 GB, free: 5.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.5211, allocations: 0.563 MB / 0.6508 GB, free: 4.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.5243, allocations: 2.415 MB / 0.6532 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.525, allocations: 1.208 MB / 0.6544 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.5252, allocations: 79.42 kB / 0.6544 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5252, allocations: 0 / 0.6544 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of Templates: time 0.02966/0.5549, allocations: 22.93 MB / 0.6768 GB, free: 10.05 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)