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/Complex 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) 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-master/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 182.6 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-master/package.mo): time 0.705/0.705, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.524/1.524, allocations: 222.9 MB / 404.7 MB, free: 5.996 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.0009516/0.0009515, allocations: 103.5 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001003, allocations: 55.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1327, allocations: 80.42 MB / 0.6421 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5222/0.655, allocations: 240.5 MB / 0.877 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.6754, allocations: 16.08 MB / 0.8927 GB, free: 332 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.6783, allocations: 75.5 kB / 0.8927 GB, free: 256 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.6814, allocations: 1.015 MB / 0.8937 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009155/0.6906, allocations: 3.598 MB / 0.8972 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.6958, allocations: 1.617 MB / 0.8988 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008246/0.704, allocations: 7.434 MB / 0.9061 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.7061, allocations: 1.421 MB / 0.9075 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.7109, allocations: 2.354 MB / 0.9098 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003245/0.7141, allocations: 1.786 MB / 0.9115 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.7144, allocations: 103.9 kB / 0.9116 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.7197, allocations: 3.137 MB / 0.9147 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.7204, allocations: 0.7009 MB / 0.9154 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.7217, allocations: 1.069 MB / 0.9164 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.7269, allocations: 3.645 MB / 0.92 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7269, allocations: 4 kB / 0.92 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7269, allocations: 0 / 0.92 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.727, allocations: 0 / 0.92 GB, free: 4.285 MB / 0.6511 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.004533/0.7315, allocations: 2.501 MB / 0.9224 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7316, allocations: 8.031 kB / 0.9224 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.7343, allocations: 0.5048 MB / 0.9229 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.7364, allocations: 1.277 MB / 0.9242 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.7366, allocations: 170.2 kB / 0.9243 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.7368, allocations: 152 kB / 0.9245 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.7396, allocations: 1.741 MB / 0.9262 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.7396, allocations: 0 / 0.9262 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.7398, allocations: 63.98 kB / 0.9262 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.7398, allocations: 62.69 kB / 0.9263 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.7423, allocations: 1.373 MB / 0.9276 GB, free: 12.23 MB / 0.6667 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.009217/0.7516, allocations: 8.175 MB / 0.9356 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.7531, allocations: 0.9002 MB / 0.9365 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.7539, allocations: 0.5302 MB / 0.937 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.7545, allocations: 328.5 kB / 0.9373 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.7546, allocations: 47.55 kB / 0.9374 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.7546, allocations: 0 / 0.9374 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102): time 0.00681/0.7614, allocations: 3.112 MB / 0.9404 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7615, allocations: 64.41 kB / 0.9405 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.763, allocations: 1.254 MB / 0.9417 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.763, allocations: 49.7 kB / 0.9417 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.7637, allocations: 0.8171 MB / 0.9425 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.764, allocations: 362.7 kB / 0.9429 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.7643, allocations: 230.8 kB / 0.9431 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7644, allocations: 357.9 kB / 0.9434 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008659/0.7653, allocations: 449.8 kB / 0.9439 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.7664, allocations: 0.8312 MB / 0.9447 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.7682, allocations: 1.241 MB / 0.9459 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.7682, allocations: 4 kB / 0.9459 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002316/0.7705, allocations: 1.402 MB / 0.9473 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.7706, allocations: 11.94 kB / 0.9473 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7706, allocations: 12 kB / 0.9473 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.7706, allocations: 16.06 kB / 0.9473 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7717, allocations: 283.5 kB / 0.9476 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.7718, allocations: 23.88 kB / 0.9476 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.7733, allocations: 165.7 kB / 0.9478 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.7734, allocations: 51.98 kB / 0.9478 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.7747, allocations: 0.7679 MB / 0.9486 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.7758, allocations: 0.8196 MB / 0.9494 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/0.7776, allocations: 1.237 MB / 0.9506 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.7776, allocations: 4 kB / 0.9506 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002249/0.7799, allocations: 1.397 MB / 0.9519 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7799, allocations: 9 kB / 0.9519 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7799, allocations: 8 kB / 0.952 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7799, allocations: 20 kB / 0.952 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.781, allocations: 267.6 kB / 0.9522 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.781, allocations: 23.92 kB / 0.9522 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7825, allocations: 163.7 kB / 0.9524 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.7826, allocations: 44 kB / 0.9524 GB, free: 1.32 MB / 0.6823 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.0002729/0.7829, allocations: 269.1 kB / 0.9527 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.7831, allocations: 169.9 kB / 0.9529 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2408/1.024, allocations: 1.143 MB / 0.954 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/1.024, allocations: 13.72 kB / 0.954 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.024, allocations: 0 / 0.954 GB, free: 259.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001654/1.026, allocations: 1.073 MB / 0.955 GB, free: 258.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/1.03, allocations: 2.775 MB / 0.9578 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.03, allocations: 3.703 kB / 0.9578 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.032, allocations: 250.9 kB / 0.958 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.032, allocations: 7.281 kB / 0.958 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/1.032, allocations: 25.45 kB / 0.958 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.032, allocations: 6.234 kB / 0.958 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.032, allocations: 1.656 kB / 0.958 GB, free: 257.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.047, allocations: 9.503 MB / 0.9673 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/1.047, allocations: 331.3 kB / 0.9676 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/1.048, allocations: 24.55 kB / 0.9677 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.049, allocations: 142.9 kB / 0.9678 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.049, allocations: 68.52 kB / 0.9679 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/1.049, allocations: 38.94 kB / 0.9679 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001001/1.05, allocations: 0.8456 MB / 0.9687 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0 / 0.9687 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004117/1.054, allocations: 1.335 MB / 0.97 GB, free: 252.2 MB / 0.6823 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.0005008/1.055, allocations: 283.6 kB / 0.9703 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.057, allocations: 1.725 MB / 0.972 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.057, allocations: 6.188 kB / 0.972 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007986/1.058, allocations: 0.5101 MB / 0.9725 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.063, allocations: 0.9709 MB / 0.9734 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/1.068, allocations: 4.759 MB / 0.9781 GB, free: 248.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/1.069, allocations: 1.467 MB / 0.9795 GB, free: 247.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002084/1.071, allocations: 0.5886 MB / 0.9801 GB, free: 247.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/1.071, allocations: 132.6 kB / 0.9802 GB, free: 247.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/1.071, allocations: 0 / 0.9802 GB, free: 247.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.04227/1.114, allocations: 33.97 MB / 1.013 GB, free: 220 MB / 0.6823 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)