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.006693/0.006693, allocations: 100.9 kB / 15.73 MB, free: 6.48 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.001328/0.001328, allocations: 195.6 kB / 16.67 MB, free: 6.379 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.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4635/0.4635, allocations: 54.94 MB / 324.8 MB, free: 15.91 MB / 270.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.001464/0.001464, allocations: 65.14 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 59.59 MB / 0.5037 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5786/0.7214, allocations: 242.6 MB / 0.7406 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.7438, allocations: 15.74 MB / 0.756 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.7473, allocations: 79.5 kB / 0.7561 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.751, allocations: 1.27 MB / 0.7573 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.762, allocations: 3.682 MB / 0.7609 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005884/0.7679, allocations: 1.907 MB / 0.7628 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007833/0.7758, allocations: 5.713 MB / 0.7684 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.7786, allocations: 1.768 MB / 0.7701 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.7849, allocations: 2.857 MB / 0.7729 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.7888, allocations: 1.83 MB / 0.7747 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006872/0.7895, allocations: 204 kB / 0.7749 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005221/0.7947, allocations: 2.311 MB / 0.7771 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.7958, allocations: 0.8726 MB / 0.778 GB, free: 1.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.7975, allocations: 1.26 MB / 0.7792 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.8033, allocations: 3.758 MB / 0.7829 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8033, allocations: 7.984 kB / 0.7829 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8033, allocations: 0 / 0.7829 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.918e-05/0.8033, allocations: 0 / 0.7829 GB, free: 12.84 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.004489/0.8078, allocations: 2.642 MB / 0.7855 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8079, allocations: 15.97 kB / 0.7855 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.8108, allocations: 484.9 kB / 0.7859 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.8132, allocations: 1.402 MB / 0.7873 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.8134, allocations: 190.5 kB / 0.7875 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.8137, allocations: 164 kB / 0.7876 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.8201, allocations: 2.319 MB / 0.7899 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.8202, allocations: 7.844 kB / 0.7899 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.8203, allocations: 72 kB / 0.79 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/0.8204, allocations: 71.06 kB / 0.7901 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.8255, allocations: 1.94 MB / 0.7919 GB, free: 3.348 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.01335/0.8389, allocations: 8.134 MB / 0.7999 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003958/0.8429, allocations: 1.447 MB / 0.8013 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.8437, allocations: 0.5224 MB / 0.8018 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.8442, allocations: 134 kB / 0.8019 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.8442, allocations: 47.56 kB / 0.802 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 3.276e-06/0.8442, allocations: 0 / 0.802 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108): time 0.01273/0.857, allocations: 4.291 MB / 0.8062 GB, free: 4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.8571, allocations: 68.41 kB / 0.8062 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.8587, allocations: 1.396 MB / 0.8076 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.8589, allocations: 49.7 kB / 0.8077 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/0.8595, allocations: 0.8719 MB / 0.8085 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.8597, allocations: 386.4 kB / 0.8089 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.8601, allocations: 250.7 kB / 0.8091 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8603, allocations: 357.9 kB / 0.8095 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.8617, allocations: 0.6227 MB / 0.8101 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.8634, allocations: 0.9994 MB / 0.811 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.8666, allocations: 1.591 MB / 0.8126 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8666, allocations: 4 kB / 0.8126 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003841/0.8704, allocations: 1.836 MB / 0.8144 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.8705, allocations: 41.7 kB / 0.8144 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.8705, allocations: 12 kB / 0.8144 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.8705, allocations: 16 kB / 0.8145 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.8723, allocations: 371.5 kB / 0.8148 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.8723, allocations: 23.92 kB / 0.8148 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.874, allocations: 127.9 kB / 0.815 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.8741, allocations: 59.98 kB / 0.815 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001336/0.8754, allocations: 0.8264 MB / 0.8158 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009673/0.8764, allocations: 0.8199 MB / 0.8166 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001719/0.8781, allocations: 1.287 MB / 0.8179 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.001e-06/0.8782, allocations: 4 kB / 0.8179 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002398/0.8806, allocations: 1.516 MB / 0.8194 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.8806, allocations: 33.7 kB / 0.8194 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.8806, allocations: 11.94 kB / 0.8194 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8807, allocations: 16 kB / 0.8194 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.8819, allocations: 296.2 kB / 0.8197 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.8819, allocations: 20.56 kB / 0.8197 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.8832, allocations: 71.89 kB / 0.8198 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.8833, allocations: 51.98 kB / 0.8198 GB, free: 5.352 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.0004202/0.8837, allocations: 267.8 kB / 0.8201 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.884, allocations: 177.8 kB / 0.8203 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/0.8874, allocations: 1.499 MB / 0.8217 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.8875, allocations: 12 kB / 0.8217 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8875, allocations: 0 / 0.8217 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/0.8904, allocations: 1.399 MB / 0.8231 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.8964, allocations: 3.126 MB / 0.8262 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8964, allocations: 0 / 0.8262 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.8982, allocations: 327.7 kB / 0.8265 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.8982, allocations: 4 kB / 0.8265 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.8983, allocations: 31.98 kB / 0.8265 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.8983, allocations: 11.88 kB / 0.8265 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8983, allocations: 0 / 0.8265 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.9035, allocations: 2.29 MB / 0.8288 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.9048, allocations: 378.8 kB / 0.8291 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.9051, allocations: 31.98 kB / 0.8291 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.9066, allocations: 135.7 kB / 0.8293 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.9068, allocations: 68.89 kB / 0.8293 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.9069, allocations: 52 kB / 0.8294 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001304/0.9082, allocations: 0.9426 MB / 0.8303 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9083, allocations: 3.938 kB / 0.8303 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00213/0.9104, allocations: 0.8359 MB / 0.8311 GB, free: 9.609 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.0006275/0.911, allocations: 255.5 kB / 0.8314 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004812/0.9159, allocations: 2.257 MB / 0.8336 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.9159, allocations: 0 / 0.8336 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.9174, allocations: 0.6812 MB / 0.8342 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.9217, allocations: 0.9675 MB / 0.8352 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/0.9284, allocations: 3.867 MB / 0.839 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.9295, allocations: 1.489 MB / 0.8404 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002104/0.9317, allocations: 0.5805 MB / 0.841 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.9321, allocations: 143.4 kB / 0.8411 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/0.9321, allocations: 0 / 0.8411 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.06932/1.001, allocations: 36.73 MB / 0.877 GB, free: 10.77 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)