Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Annex60.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001093/0.001094, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009702/0.0009702, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3937/0.3937, allocations: 54.97 MB / 325.3 MB, free: 0.6641 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005537/0.0005539, allocations: 20 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3536, allocations: 60.72 MB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2152/0.5688, allocations: 199 MB / 0.641 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3092/0.878, allocations: 14.59 MB / 0.6552 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.881, allocations: 67.59 kB / 0.6553 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.8848, allocations: 1.07 MB / 0.6563 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.8954, allocations: 3.35 MB / 0.6596 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005159/0.9006, allocations: 1.622 MB / 0.6612 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006477/0.9071, allocations: 3.332 MB / 0.6644 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.9101, allocations: 1.373 MB / 0.6658 GB, free: 21.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006/0.9162, allocations: 1.971 MB / 0.6677 GB, free: 21.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004063/0.9203, allocations: 1.186 MB / 0.6688 GB, free: 21.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006817/0.921, allocations: 93.62 kB / 0.6689 GB, free: 21.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.926, allocations: 1.059 MB / 0.67 GB, free: 21.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.9273, allocations: 0.6976 MB / 0.6706 GB, free: 21.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.9292, allocations: 479.3 kB / 0.6711 GB, free: 21.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.9341, allocations: 2.46 MB / 0.6735 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9341, allocations: 0.625 kB / 0.6735 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9341, allocations: 0 / 0.6735 GB, free: 20.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.618e-05/0.9342, allocations: 1.25 kB / 0.6735 GB, free: 20.91 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.005797/0.94, allocations: 2.199 MB / 0.6757 GB, free: 19.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.9401, allocations: 9.531 kB / 0.6757 GB, free: 19.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.9432, allocations: 495.6 kB / 0.6761 GB, free: 19.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.9465, allocations: 1.265 MB / 0.6774 GB, free: 19.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.9468, allocations: 188.2 kB / 0.6775 GB, free: 19.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.9471, allocations: 171.1 kB / 0.6777 GB, free: 19.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006942/0.9541, allocations: 2.367 MB / 0.68 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.9541, allocations: 4.609 kB / 0.68 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.9543, allocations: 67.5 kB / 0.6801 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.9545, allocations: 69.56 kB / 0.6802 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006145/0.9606, allocations: 2.019 MB / 0.6821 GB, free: 18.9 MB / 0.5137 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.01329/0.974, allocations: 8.126 MB / 0.6901 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.9776, allocations: 1.519 MB / 0.6916 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.978, allocations: 152.2 kB / 0.6917 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.9781, allocations: 48.28 kB / 0.6917 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=102): time 3.005e-06/0.9781, allocations: 0 / 0.6917 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.0134/0.9915, allocations: 4.506 MB / 0.6961 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.9916, allocations: 65.91 kB / 0.6962 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.9935, allocations: 1.386 MB / 0.6976 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/0.9938, allocations: 51.45 kB / 0.6976 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.9944, allocations: 0.8636 MB / 0.6985 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.9947, allocations: 397.4 kB / 0.6988 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.9948, allocations: 24.12 kB / 0.6989 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9949, allocations: 368.7 kB / 0.6992 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.9964, allocations: 0.6412 MB / 0.6998 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.998, allocations: 1.02 MB / 0.7008 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.9995, allocations: 0.7932 MB / 0.7016 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9995, allocations: 2.719 kB / 0.7016 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.0038/1.003, allocations: 1.891 MB / 0.7035 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001405/1.005, allocations: 3.345 MB / 0.7067 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.005, allocations: 9.188 kB / 0.7067 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/1.005, allocations: 17.94 kB / 0.7067 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.007, allocations: 393.1 kB / 0.7071 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/1.007, allocations: 22.67 kB / 0.7071 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/1.009, allocations: 254 kB / 0.7074 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.009, allocations: 54.02 kB / 0.7074 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.009, allocations: 4 kB / 0.7074 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002158/1.011, allocations: 1.337 MB / 0.7087 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.012, allocations: 9.156 kB / 0.7088 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.012, allocations: 15 kB / 0.7088 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.013, allocations: 298 kB / 0.7091 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/1.013, allocations: 19.19 kB / 0.7091 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.015, allocations: 167.5 kB / 0.7092 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/1.015, allocations: 53.25 kB / 0.7093 GB, free: 5.449 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 5 (vol2.i_w,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 (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 1 * 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.001227/1.016, allocations: 0.5331 MB / 0.7098 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/1.017, allocations: 182.9 kB / 0.71 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/1.02, allocations: 1.555 MB / 0.7115 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.02, allocations: 11.09 kB / 0.7115 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.02, allocations: 0 / 0.7115 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002951/1.023, allocations: 1.46 MB / 0.7129 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/1.03, allocations: 3.188 MB / 0.716 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.03, allocations: 2.094 kB / 0.716 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.032, allocations: 345 kB / 0.7164 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.032, allocations: 6.531 kB / 0.7164 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.441e-05/1.032, allocations: 37.55 kB / 0.7164 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.032, allocations: 3.281 kB / 0.7164 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.032, allocations: 3.281 kB / 0.7164 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/1.037, allocations: 2.412 MB / 0.7188 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.038, allocations: 382.2 kB / 0.7191 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/1.038, allocations: 27.75 kB / 0.7192 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.04, allocations: 226.7 kB / 0.7194 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/1.04, allocations: 67.47 kB / 0.7195 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.04, allocations: 48.14 kB / 0.7195 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001425/1.042, allocations: 0.9288 MB / 0.7204 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.042, allocations: 4 kB / 0.7204 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002568/1.044, allocations: 0.8309 MB / 0.7212 GB, free: 404 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (108): * Single equations (assignments): 108 * 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.0006256/1.045, allocations: 247 kB / 0.7215 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004726/1.05, allocations: 2.314 MB / 0.7237 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.05, allocations: 0 / 0.7237 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.051, allocations: 0.7134 MB / 0.7244 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/1.057, allocations: 1.001 MB / 0.7254 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/1.065, allocations: 4.718 MB / 0.73 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.066, allocations: 1.528 MB / 0.7315 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002739/1.069, allocations: 0.5798 MB / 0.7321 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/1.069, allocations: 150.2 kB / 0.7322 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.069, allocations: 0 / 0.7322 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of Templates: time 0.05724/1.126, allocations: 33.54 MB / 0.765 GB, free: 5.391 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: