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.009573/0.009573, allocations: 98.39 kB / 15.73 MB, free: 6.004 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.001912/0.001912, allocations: 193.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4229/0.4229, allocations: 54.94 MB / 324.8 MB, free: 8 kB / 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.001475/0.001475, allocations: 67.31 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 59.59 MB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7397/0.868, allocations: 242.6 MB / 0.7407 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02722/0.8952, allocations: 15.73 MB / 0.7561 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004598/0.8999, allocations: 79.5 kB / 0.7562 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.9048, allocations: 1.274 MB / 0.7574 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.9197, allocations: 3.689 MB / 0.761 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.9267, allocations: 1.9 MB / 0.7629 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.9369, allocations: 5.705 MB / 0.7684 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.9397, allocations: 1.772 MB / 0.7702 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007332/0.9471, allocations: 2.81 MB / 0.7729 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004892/0.952, allocations: 1.841 MB / 0.7747 GB, free: 5.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008011/0.9528, allocations: 200 kB / 0.7749 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007047/0.9599, allocations: 2.311 MB / 0.7771 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/0.9614, allocations: 0.8648 MB / 0.778 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.964, allocations: 1.268 MB / 0.7792 GB, free: 432 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.9721, allocations: 3.768 MB / 0.7829 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.9721, allocations: 0 / 0.7829 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9721, allocations: 0 / 0.7829 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.268e-05/0.9722, allocations: 0 / 0.7829 GB, free: 12.64 MB / 0.5606 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.005863/0.9781, allocations: 2.728 MB / 0.7856 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.9782, allocations: 12.03 kB / 0.7856 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.9812, allocations: 498.1 kB / 0.7861 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/0.9847, allocations: 1.407 MB / 0.7874 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.985, allocations: 190.5 kB / 0.7876 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.9853, allocations: 172 kB / 0.7878 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.992, allocations: 2.327 MB / 0.7901 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.9921, allocations: 3.938 kB / 0.7901 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.9923, allocations: 72 kB / 0.7901 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.9923, allocations: 59.08 kB / 0.7902 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.9978, allocations: 1.948 MB / 0.7921 GB, free: 3.047 MB / 0.5606 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.01337/1.011, allocations: 8.156 MB / 0.8 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/1.015, allocations: 1.443 MB / 0.8015 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/1.016, allocations: 0.5224 MB / 0.802 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/1.017, allocations: 130 kB / 0.8021 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.017, allocations: 51.56 kB / 0.8021 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 4.719e-06/1.017, allocations: 4 kB / 0.8021 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108): time 0.01356/1.03, allocations: 4.317 MB / 0.8064 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.03, allocations: 64.41 kB / 0.8064 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/1.033, allocations: 1.4 MB / 0.8078 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.033, allocations: 53.7 kB / 0.8078 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/1.034, allocations: 0.8816 MB / 0.8087 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/1.034, allocations: 408.4 kB / 0.8091 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/1.034, allocations: 262.8 kB / 0.8093 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.035, allocations: 353.9 kB / 0.8097 GB, free: 212 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/1.036, allocations: 0.6227 MB / 0.8103 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.038, allocations: 0.9916 MB / 0.8113 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/1.041, allocations: 1.599 MB / 0.8128 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/1.041, allocations: 0 / 0.8128 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004685/1.046, allocations: 1.841 MB / 0.8146 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/1.046, allocations: 45.69 kB / 0.8147 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.046, allocations: 8 kB / 0.8147 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/1.046, allocations: 23.94 kB / 0.8147 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.048, allocations: 367.9 kB / 0.815 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/1.048, allocations: 19.94 kB / 0.8151 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.05, allocations: 135.9 kB / 0.8152 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.05, allocations: 55.98 kB / 0.8152 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001538/1.052, allocations: 0.8264 MB / 0.816 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001138/1.053, allocations: 0.8277 MB / 0.8169 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002782/1.055, allocations: 1.283 MB / 0.8181 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/1.056, allocations: 4 kB / 0.8181 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.003615/1.059, allocations: 1.525 MB / 0.8196 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/1.059, allocations: 44.06 kB / 0.8196 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.059, allocations: 8 kB / 0.8196 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.059, allocations: 16 kB / 0.8197 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.061, allocations: 287.6 kB / 0.8199 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/1.061, allocations: 23.92 kB / 0.82 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/1.062, allocations: 63.95 kB / 0.82 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/1.063, allocations: 52 kB / 0.8201 GB, free: 4.961 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005127/1.063, allocations: 275.8 kB / 0.8203 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006717/1.064, allocations: 186.9 kB / 0.8205 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/1.068, allocations: 1.495 MB / 0.822 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.068, allocations: 12 kB / 0.822 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.068, allocations: 0 / 0.822 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003205/1.071, allocations: 1.391 MB / 0.8233 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00758/1.079, allocations: 3.133 MB / 0.8264 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.079, allocations: 0 / 0.8264 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.08, allocations: 327.6 kB / 0.8267 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/1.08, allocations: 4 kB / 0.8267 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.081, allocations: 35.97 kB / 0.8268 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/1.081, allocations: 7.938 kB / 0.8268 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.081, allocations: 7.984 kB / 0.8268 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/1.086, allocations: 2.291 MB / 0.829 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.087, allocations: 387.8 kB / 0.8294 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/1.088, allocations: 27.98 kB / 0.8294 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.09, allocations: 131.8 kB / 0.8295 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.09, allocations: 68.84 kB / 0.8296 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.09, allocations: 47.95 kB / 0.8296 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001669/1.092, allocations: 0.9426 MB / 0.8306 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.092, allocations: 0 / 0.8306 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002933/1.095, allocations: 0.8436 MB / 0.8314 GB, free: 9.199 MB / 0.6075 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 (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.000769/1.095, allocations: 254.4 kB / 0.8316 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005138/1.101, allocations: 2.258 MB / 0.8338 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.101, allocations: 0 / 0.8338 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/1.102, allocations: 0.685 MB / 0.8345 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.107, allocations: 0.9663 MB / 0.8354 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/1.116, allocations: 3.926 MB / 0.8393 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.118, allocations: 1.489 MB / 0.8407 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002285/1.12, allocations: 0.5805 MB / 0.8413 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/1.12, allocations: 143.4 kB / 0.8414 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/1.12, allocations: 0 / 0.8414 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of Templates: time 0.06476/1.185, allocations: 36.12 MB / 0.8767 GB, free: 10.91 MB / 0.6544 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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)