Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.854/0.854, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 403.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.73 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 63.89 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1221, allocations: 80.2 MB / 0.6402 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02481/0.1469, allocations: 26.14 MB / 0.6657 GB, free: 12.57 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00951/0.1565, allocations: 7.153 MB / 0.6727 GB, free: 5.402 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.1581, allocations: 31.81 kB / 0.6727 GB, free: 5.371 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1594, allocations: 326.2 kB / 0.673 GB, free: 5.051 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.1636, allocations: 1.02 MB / 0.674 GB, free: 4.027 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.1669, allocations: 0.8663 MB / 0.6749 GB, free: 3.172 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005038/0.172, allocations: 2.814 MB / 0.6776 GB, free: 360 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.1733, allocations: 0.5235 MB / 0.6781 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1748, allocations: 0.6183 MB / 0.6787 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.1758, allocations: 0.5521 MB / 0.6793 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.1759, allocations: 39.88 kB / 0.6793 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.1782, allocations: 0.7795 MB / 0.6801 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.1785, allocations: 139.4 kB / 0.6802 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.179, allocations: 358 kB / 0.6805 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.1812, allocations: 1.176 MB / 0.6817 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1812, allocations: 4 kB / 0.6817 GB, free: 12.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1812, allocations: 0 / 0.6817 GB, free: 12.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1812, allocations: 4 kB / 0.6817 GB, free: 12.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002036/0.1833, allocations: 1.057 MB / 0.6827 GB, free: 11.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1833, allocations: 8.031 kB / 0.6827 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/0.1838, allocations: 84 kB / 0.6828 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.1854, allocations: 0.7328 MB / 0.6835 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.1855, allocations: 33 kB / 0.6836 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1856, allocations: 51.89 kB / 0.6836 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1868, allocations: 0.5001 MB / 0.6841 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1868, allocations: 0 / 0.6841 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.1869, allocations: 20 kB / 0.6841 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.1869, allocations: 12 kB / 0.6841 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.1877, allocations: 323.7 kB / 0.6844 GB, free: 9.207 MB / 490.7 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.004004/0.1917, allocations: 2.744 MB / 0.6871 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.1923, allocations: 190.5 kB / 0.6873 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.1925, allocations: 105.1 kB / 0.6874 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.1929, allocations: 348.3 kB / 0.6877 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1929, allocations: 34.56 kB / 0.6878 GB, free: 5.465 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.354e-06/0.193, allocations: 0 / 0.6878 GB, free: 5.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007963/0.1938, allocations: 307.7 kB / 0.6881 GB, free: 5.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1938, allocations: 51.41 kB / 0.6881 GB, free: 5.098 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.1946, allocations: 0.5224 MB / 0.6886 GB, free: 4.566 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.1947, allocations: 29.7 kB / 0.6886 GB, free: 4.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.195, allocations: 347.4 kB / 0.689 GB, free: 4.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1952, allocations: 78.84 kB / 0.6891 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.1953, allocations: 85.55 kB / 0.6891 GB, free: 4.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1955, allocations: 362.8 kB / 0.6895 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1958, allocations: 92.81 kB / 0.6896 GB, free: 3.559 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1962, allocations: 241.8 kB / 0.6898 GB, free: 3.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.1968, allocations: 337.5 kB / 0.6901 GB, free: 2.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1969, allocations: 0 / 0.6901 GB, free: 2.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009248/0.1978, allocations: 400.6 kB / 0.6905 GB, free: 2.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1978, allocations: 8 kB / 0.6905 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1978, allocations: 7.938 kB / 0.6905 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.1979, allocations: 8 kB / 0.6905 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.1983, allocations: 75.91 kB / 0.6906 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1984, allocations: 11.92 kB / 0.6906 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.199, allocations: 59.8 kB / 0.6907 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.1991, allocations: 20 kB / 0.6907 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004687/0.1996, allocations: 244.1 kB / 0.6909 GB, free: 2.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003279/0.1999, allocations: 229.9 kB / 0.6911 GB, free: 1.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005643/0.2005, allocations: 336 kB / 0.6915 GB, free: 1.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.2005, allocations: 0 / 0.6915 GB, free: 1.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008398/0.2014, allocations: 389.2 kB / 0.6918 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2014, allocations: 8.031 kB / 0.6918 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2014, allocations: 4 kB / 0.6918 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2014, allocations: 11.94 kB / 0.6919 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.2018, allocations: 75.91 kB / 0.6919 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.2019, allocations: 19.92 kB / 0.6919 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.2024, allocations: 47.67 kB / 0.692 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.2025, allocations: 16 kB / 0.692 GB, free: 0.8008 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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.0001633/0.2027, allocations: 197.5 kB / 0.6922 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.2028, allocations: 59.33 kB / 0.6923 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.2035, allocations: 287 kB / 0.6925 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.2035, allocations: 4.094 kB / 0.6925 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.2036, allocations: 7.984 kB / 0.6925 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3469/0.5505, allocations: 376.8 kB / 0.6929 GB, free: 60.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.5529, allocations: 1.048 MB / 0.6939 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5529, allocations: 2.75 kB / 0.6939 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.5533, allocations: 50.5 kB / 0.694 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5533, allocations: 2.844 kB / 0.694 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5534, allocations: 9.609 kB / 0.694 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.5534, allocations: 7.891 kB / 0.694 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5534, allocations: 6.75 kB / 0.694 GB, free: 59.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.5573, allocations: 2.285 MB / 0.6962 GB, free: 57.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.5576, allocations: 171.2 kB / 0.6964 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.5577, allocations: 4.938 kB / 0.6964 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.5584, allocations: 34.94 kB / 0.6964 GB, free: 57.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.5584, allocations: 27.33 kB / 0.6965 GB, free: 57.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.5585, allocations: 23.14 kB / 0.6965 GB, free: 57.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007477/0.5593, allocations: 398.6 kB / 0.6969 GB, free: 57.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5593, allocations: 0 / 0.6969 GB, free: 57.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002509/0.5618, allocations: 493.8 kB / 0.6973 GB, free: 57.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008711/0.5627, allocations: 307.7 kB / 0.6976 GB, free: 57.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.5638, allocations: 396.4 kB / 0.698 GB, free: 57.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5638, allocations: 0.7812 kB / 0.698 GB, free: 57.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.5641, allocations: 114 kB / 0.6981 GB, free: 57.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.5672, allocations: 368.4 kB / 0.6985 GB, free: 57.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.5699, allocations: 1.508 MB / 0.6999 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.5704, allocations: 0.9022 MB / 0.7008 GB, free: 55.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.5715, allocations: 161.7 kB / 0.701 GB, free: 55.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.5717, allocations: 57.09 kB / 0.701 GB, free: 55.47 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5717, allocations: 0.5312 kB / 0.701 GB, free: 55.47 MB / 490.7 MB Notification: Performance of Templates: time 0.03797/0.6097, allocations: 12.63 MB / 0.7134 GB, free: 51.81 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)