Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007852, allocations: 86.72 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.0008212/0.0008212, 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.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3454, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2177/0.5632, allocations: 221.3 MB / 0.7992 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.5826, allocations: 14.91 MB / 0.8138 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.5846, allocations: 71.5 kB / 0.8139 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.587, allocations: 0.7841 MB / 0.8146 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3084/0.8954, allocations: 2.843 MB / 0.8174 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.8997, allocations: 1.362 MB / 0.8187 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007553/0.9072, allocations: 6.223 MB / 0.8248 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.9096, allocations: 1.274 MB / 0.826 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.9144, allocations: 2.166 MB / 0.8282 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.9176, allocations: 1.643 MB / 0.8298 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005118/0.9181, allocations: 83.19 kB / 0.8298 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.9224, allocations: 1.514 MB / 0.8313 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.9235, allocations: 0.6716 MB / 0.832 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.9247, allocations: 440.5 kB / 0.8324 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.928, allocations: 2.442 MB / 0.8348 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.928, allocations: 0 / 0.8348 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/0.928, allocations: 0 / 0.8348 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.9281, allocations: 0 / 0.8348 GB, free: 10.37 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003839/0.9319, allocations: 2.131 MB / 0.8369 GB, free: 25.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.932, allocations: 9.406 kB / 0.8369 GB, free: 25.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.9346, allocations: 0.5031 MB / 0.8374 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.9364, allocations: 1.224 MB / 0.8386 GB, free: 24.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.9365, allocations: 183 kB / 0.8387 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.9367, allocations: 150.1 kB / 0.8389 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.9392, allocations: 1.732 MB / 0.8406 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.9392, allocations: 7.219 kB / 0.8406 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.9393, allocations: 66.34 kB / 0.8406 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.9394, allocations: 57.8 kB / 0.8407 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.9416, allocations: 1.379 MB / 0.842 GB, free: 24.4 MB / 0.6544 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.007965/0.9495, allocations: 8.187 MB / 0.85 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.9508, allocations: 0.9092 MB / 0.8509 GB, free: 19.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.9515, allocations: 0.5405 MB / 0.8515 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/0.9521, allocations: 336.1 kB / 0.8518 GB, free: 19.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.9521, allocations: 47.78 kB / 0.8518 GB, free: 19.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 2.515e-06/0.9522, allocations: 0 / 0.8518 GB, free: 19.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.005797/0.958, allocations: 3.154 MB / 0.8549 GB, free: 18.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.958, allocations: 60.97 kB / 0.855 GB, free: 18.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.9592, allocations: 1.251 MB / 0.8562 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/0.9593, allocations: 50.14 kB / 0.8562 GB, free: 18.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.9597, allocations: 0.8177 MB / 0.857 GB, free: 17.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.9599, allocations: 366.7 kB / 0.8574 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.96, allocations: 21.25 kB / 0.8574 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9601, allocations: 349.9 kB / 0.8577 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.9608, allocations: 437.6 kB / 0.8581 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.9617, allocations: 0.8324 MB / 0.859 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/0.9625, allocations: 0.5574 MB / 0.8595 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9625, allocations: 2.875 kB / 0.8595 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001983/0.9645, allocations: 1.406 MB / 0.8609 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.9647, allocations: 359.2 kB / 0.8612 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9647, allocations: 13.38 kB / 0.8612 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.9647, allocations: 18 kB / 0.8613 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.9658, allocations: 278.5 kB / 0.8615 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.9658, allocations: 26.52 kB / 0.8615 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.9671, allocations: 173.2 kB / 0.8617 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.9672, allocations: 50.41 kB / 0.8618 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.9672, allocations: 2.875 kB / 0.8618 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/0.969, allocations: 1.227 MB / 0.863 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.969, allocations: 13.02 kB / 0.863 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.969, allocations: 18.48 kB / 0.863 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.97, allocations: 276.3 kB / 0.8633 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.9701, allocations: 22.36 kB / 0.8633 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.9713, allocations: 169.5 kB / 0.8634 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.9713, allocations: 50.19 kB / 0.8635 GB, free: 16.29 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0006112/0.972, allocations: 0.5095 MB / 0.864 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.9721, allocations: 164.6 kB / 0.8641 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.974, allocations: 1.161 MB / 0.8653 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.974, allocations: 12.38 kB / 0.8653 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.974, allocations: 0 / 0.8653 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.9755, allocations: 1.091 MB / 0.8663 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.9792, allocations: 2.795 MB / 0.8691 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.9792, allocations: 2.906 kB / 0.8691 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.9803, allocations: 258.8 kB / 0.8693 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.9803, allocations: 5.094 kB / 0.8693 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.9804, allocations: 26.62 kB / 0.8694 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.9804, allocations: 5.797 kB / 0.8694 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9804, allocations: 2.938 kB / 0.8694 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.9828, allocations: 1.834 MB / 0.8712 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.9832, allocations: 338.1 kB / 0.8715 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.9834, allocations: 31.97 kB / 0.8715 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.9845, allocations: 135.8 kB / 0.8716 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.9846, allocations: 72.67 kB / 0.8717 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.9847, allocations: 37.33 kB / 0.8717 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008573/0.9856, allocations: 0.8284 MB / 0.8726 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9856, allocations: 0 / 0.8726 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001713/0.9873, allocations: 0.7671 MB / 0.8733 GB, free: 14.58 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004591/0.9878, allocations: 280.7 kB / 0.8736 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.9902, allocations: 1.74 MB / 0.8753 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9902, allocations: 4.125 kB / 0.8753 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.991, allocations: 0.5221 MB / 0.8758 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/0.9947, allocations: 0.9684 MB / 0.8767 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.9991, allocations: 4.198 MB / 0.8808 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/1, allocations: 1.446 MB / 0.8822 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001837/1.002, allocations: 0.5613 MB / 0.8828 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.002, allocations: 125.5 kB / 0.8829 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/1.002, allocations: 0 / 0.8829 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.04397/1.046, allocations: 29.37 MB / 0.9116 GB, free: 5.418 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)