Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001172/0.001172, allocations: 103 kB / 16.35 MB, free: 5.824 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.001167/0.001167, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7968/0.7968, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.08 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3257, allocations: 80.91 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5711/0.8968, allocations: 242.4 MB / 0.8225 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.9164, allocations: 15.89 MB / 0.838 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003675/0.9201, allocations: 76.31 kB / 0.838 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.9243, allocations: 1.18 MB / 0.8392 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.9366, allocations: 3.815 MB / 0.8429 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005587/0.9422, allocations: 1.815 MB / 0.8447 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00775/0.95, allocations: 5.246 MB / 0.8498 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.9526, allocations: 1.673 MB / 0.8515 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.9589, allocations: 2.611 MB / 0.854 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.963, allocations: 1.705 MB / 0.8557 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.9636, allocations: 176.4 kB / 0.8558 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.9696, allocations: 2.704 MB / 0.8585 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.9709, allocations: 0.7688 MB / 0.8592 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.973, allocations: 1.151 MB / 0.8604 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007261/0.9803, allocations: 3.566 MB / 0.8638 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9803, allocations: 0 / 0.8638 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9804, allocations: 0 / 0.8638 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.233e-05/0.9804, allocations: 0 / 0.8638 GB, free: 2.449 MB / 0.5919 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.004758/0.9852, allocations: 2.5 MB / 0.8663 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.9853, allocations: 9.109 kB / 0.8663 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.9886, allocations: 0.5028 MB / 0.8668 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.9913, allocations: 1.366 MB / 0.8681 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.9915, allocations: 174.2 kB / 0.8683 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.9918, allocations: 155.9 kB / 0.8684 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.9946, allocations: 1.733 MB / 0.8701 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.9946, allocations: 2.625 kB / 0.8701 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.9948, allocations: 63.59 kB / 0.8702 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.9948, allocations: 62.69 kB / 0.8702 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.9971, allocations: 1.368 MB / 0.8716 GB, free: 10.45 MB / 0.6075 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.009214/1.006, allocations: 8.199 MB / 0.8796 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.008, allocations: 0.8951 MB / 0.8805 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/1.008, allocations: 0.5302 MB / 0.881 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005958/1.009, allocations: 325.7 kB / 0.8813 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/1.009, allocations: 51.48 kB / 0.8813 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=96): time 4.208e-06/1.009, allocations: 0 / 0.8813 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102): time 0.006311/1.015, allocations: 3.112 MB / 0.8844 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.016, allocations: 60.41 kB / 0.8844 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/1.017, allocations: 1.258 MB / 0.8857 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/1.017, allocations: 53.69 kB / 0.8857 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/1.018, allocations: 0.8154 MB / 0.8865 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/1.018, allocations: 361.8 kB / 0.8869 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003072/1.018, allocations: 226.8 kB / 0.8871 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.018, allocations: 361.9 kB / 0.8874 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/1.019, allocations: 445.8 kB / 0.8878 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/1.02, allocations: 0.831 MB / 0.8886 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.022, allocations: 1.246 MB / 0.8899 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.022, allocations: 4 kB / 0.8899 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002252/1.024, allocations: 1.404 MB / 0.8912 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.024, allocations: 8 kB / 0.8912 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.024, allocations: 8 kB / 0.8913 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.024, allocations: 20.03 kB / 0.8913 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.025, allocations: 273.8 kB / 0.8915 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/1.025, allocations: 21.06 kB / 0.8916 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.027, allocations: 70.19 kB / 0.8916 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.755e-05/1.027, allocations: 48 kB / 0.8917 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001377/1.028, allocations: 0.7766 MB / 0.8924 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/1.029, allocations: 0.8168 MB / 0.8932 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001786/1.031, allocations: 1.237 MB / 0.8944 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.994e-06/1.031, allocations: 3.938 kB / 0.8944 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002447/1.034, allocations: 1.388 MB / 0.8958 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.034, allocations: 8 kB / 0.8958 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.034, allocations: 12 kB / 0.8958 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.034, allocations: 12 kB / 0.8958 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.035, allocations: 278.2 kB / 0.8961 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.035, allocations: 29 kB / 0.8961 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.036, allocations: 75.94 kB / 0.8962 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/1.036, allocations: 51.98 kB / 0.8962 GB, free: 124 kB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003787/1.037, allocations: 258 kB / 0.8965 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/1.037, allocations: 166 kB / 0.8966 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.039, allocations: 1.165 MB / 0.8978 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.039, allocations: 12 kB / 0.8978 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.039, allocations: 0 / 0.8978 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/1.041, allocations: 1.074 MB / 0.8988 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/1.046, allocations: 2.768 MB / 0.9015 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.046, allocations: 7.984 kB / 0.9016 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.047, allocations: 250 kB / 0.9018 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/1.047, allocations: 4 kB / 0.9018 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/1.047, allocations: 28.2 kB / 0.9018 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.047, allocations: 10.53 kB / 0.9018 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.047, allocations: 0 / 0.9018 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/1.051, allocations: 1.819 MB / 0.9036 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.052, allocations: 334.9 kB / 0.9039 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/1.052, allocations: 27.98 kB / 0.904 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009797/1.053, allocations: 51.95 kB / 0.904 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.053, allocations: 64.91 kB / 0.9041 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.053, allocations: 35.98 kB / 0.9041 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001252/1.055, allocations: 0.8465 MB / 0.9049 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.8e-07/1.055, allocations: 0 / 0.9049 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002043/1.057, allocations: 0.7656 MB / 0.9057 GB, free: 6.324 MB / 0.6387 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 (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.0007009/1.057, allocations: 277.3 kB / 0.9059 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003153/1.061, allocations: 1.738 MB / 0.9076 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.061, allocations: 0 / 0.9076 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/1.062, allocations: 0.5169 MB / 0.9081 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.065, allocations: 0.9153 MB / 0.909 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/1.071, allocations: 3.445 MB / 0.9124 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.072, allocations: 1.437 MB / 0.9138 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001779/1.074, allocations: 0.5561 MB / 0.9143 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/1.074, allocations: 127.4 kB / 0.9145 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of SimCode: time 1.012e-06/1.074, allocations: 0 / 0.9145 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.05098/1.125, allocations: 31.26 MB / 0.945 GB, free: 14.66 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)