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.0009482/0.0009482, allocations: 105.4 kB / 16.37 MB, free: 6.469 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.0009947/0.0009948, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7607/0.7607, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 0.5068 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5265/0.8488, allocations: 242.4 MB / 0.8225 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.8678, allocations: 15.89 MB / 0.838 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004724/0.8726, allocations: 78.78 kB / 0.8381 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.8757, allocations: 1.172 MB / 0.8392 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008817/0.8846, allocations: 3.816 MB / 0.8429 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.889, allocations: 1.815 MB / 0.8447 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006175/0.8952, allocations: 5.246 MB / 0.8498 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.8973, allocations: 1.672 MB / 0.8515 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/0.9024, allocations: 2.614 MB / 0.854 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.9055, allocations: 1.7 MB / 0.8557 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.9058, allocations: 175.3 kB / 0.8558 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005159/0.911, allocations: 2.705 MB / 0.8585 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008318/0.9118, allocations: 0.769 MB / 0.8592 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.9133, allocations: 1.156 MB / 0.8604 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.9181, allocations: 3.557 MB / 0.8638 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.9182, allocations: 0 / 0.8638 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9182, allocations: 0 / 0.8638 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.9182, allocations: 0 / 0.8638 GB, free: 2.441 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.003719/0.9219, allocations: 2.498 MB / 0.8663 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.922, allocations: 9.109 kB / 0.8663 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.9247, allocations: 0.5042 MB / 0.8668 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.9269, allocations: 1.36 MB / 0.8681 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.927, allocations: 186 kB / 0.8683 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.9272, allocations: 151.9 kB / 0.8684 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.9297, allocations: 1.739 MB / 0.8701 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.9298, allocations: 6.625 kB / 0.8701 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.9299, allocations: 56 kB / 0.8702 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/0.93, allocations: 66.69 kB / 0.8702 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.9322, allocations: 1.372 MB / 0.8716 GB, free: 10.43 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.008492/0.9407, allocations: 8.194 MB / 0.8796 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.9422, allocations: 0.8977 MB / 0.8805 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008546/0.9431, allocations: 0.5341 MB / 0.881 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.9437, allocations: 322.2 kB / 0.8813 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.9438, allocations: 51.5 kB / 0.8813 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=96): time 2.414e-06/0.9438, allocations: 0 / 0.8813 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102): time 0.006005/0.9498, allocations: 3.112 MB / 0.8844 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.9498, allocations: 60.41 kB / 0.8844 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.9513, allocations: 1.266 MB / 0.8857 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.9514, allocations: 49.7 kB / 0.8857 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.9519, allocations: 0.8118 MB / 0.8865 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.9522, allocations: 362.3 kB / 0.8869 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.9525, allocations: 226.8 kB / 0.8871 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9527, allocations: 357.9 kB / 0.8874 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.9534, allocations: 449.8 kB / 0.8878 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.9545, allocations: 0.8247 MB / 0.8887 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.9563, allocations: 1.253 MB / 0.8899 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.9563, allocations: 4 kB / 0.8899 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002261/0.9585, allocations: 1.396 MB / 0.8912 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9586, allocations: 8 kB / 0.8913 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.9586, allocations: 12 kB / 0.8913 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.9586, allocations: 12 kB / 0.8913 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9597, allocations: 281.7 kB / 0.8915 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/0.9598, allocations: 21.52 kB / 0.8916 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.9609, allocations: 71.95 kB / 0.8916 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.657e-05/0.961, allocations: 51.98 kB / 0.8917 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.9622, allocations: 0.7649 MB / 0.8924 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.9632, allocations: 0.8246 MB / 0.8932 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001737/0.9649, allocations: 1.237 MB / 0.8944 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.386e-06/0.9649, allocations: 11.94 kB / 0.8945 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002171/0.9671, allocations: 1.381 MB / 0.8958 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9671, allocations: 12 kB / 0.8958 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9672, allocations: 12 kB / 0.8958 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9672, allocations: 16 kB / 0.8958 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.9682, allocations: 265.7 kB / 0.8961 GB, free: 260 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.9683, allocations: 25.14 kB / 0.8961 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.9694, allocations: 75.95 kB / 0.8962 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.699e-05/0.9695, allocations: 55.92 kB / 0.8962 GB, free: 108 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.0002518/0.9697, allocations: 262 kB / 0.8965 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.97, allocations: 162 kB / 0.8966 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.9719, allocations: 1.157 MB / 0.8978 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.972, allocations: 19.94 kB / 0.8978 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.972, allocations: 0 / 0.8978 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/0.9735, allocations: 1.068 MB / 0.8988 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.9778, allocations: 2.775 MB / 0.9016 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9778, allocations: 4.219 kB / 0.9016 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.979, allocations: 254 kB / 0.9018 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.979, allocations: 4 kB / 0.9018 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.586e-05/0.9791, allocations: 27.98 kB / 0.9018 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.9791, allocations: 6.531 kB / 0.9018 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9791, allocations: 4 kB / 0.9018 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.9818, allocations: 1.813 MB / 0.9036 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005946/0.9824, allocations: 334.9 kB / 0.9039 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.9826, allocations: 23.98 kB / 0.9039 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.9836, allocations: 58.02 kB / 0.904 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.9837, allocations: 67.53 kB / 0.9041 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.9838, allocations: 39.98 kB / 0.9041 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001014/0.9848, allocations: 0.8426 MB / 0.9049 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.9848, allocations: 0 / 0.9049 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001707/0.9865, allocations: 0.7656 MB / 0.9057 GB, free: 6.312 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.0005103/0.987, allocations: 272.8 kB / 0.9059 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.9898, allocations: 1.743 MB / 0.9076 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9898, allocations: 0 / 0.9076 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.9907, allocations: 0.5174 MB / 0.9081 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/0.9939, allocations: 0.9284 MB / 0.9091 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.9989, allocations: 3.426 MB / 0.9124 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1, allocations: 1.449 MB / 0.9138 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001649/1.002, allocations: 0.5444 MB / 0.9143 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.002, allocations: 139.4 kB / 0.9145 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/1.002, allocations: 0 / 0.9145 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.0498/1.052, allocations: 31.26 MB / 0.945 GB, free: 14.64 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)