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.001065/0.001065, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01055/0.01055, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.623/1.623, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3996/0.3996, allocations: 55.01 MB / 325.7 MB, free: 0.5156 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.0005482/0.0005482, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3968, allocations: 60.71 MB / 458 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6068/1.004, allocations: 237.4 MB / 0.6791 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02458/1.028, allocations: 15.76 MB / 0.6945 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/1.033, allocations: 71.06 kB / 0.6946 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004683/1.038, allocations: 1.105 MB / 0.6956 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/1.051, allocations: 3.486 MB / 0.699 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006085/1.057, allocations: 1.719 MB / 0.7007 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01273/1.07, allocations: 8.045 MB / 0.7086 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003374/1.074, allocations: 1.456 MB / 0.71 GB, free: 16.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006973/1.081, allocations: 2.48 MB / 0.7124 GB, free: 16.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/1.085, allocations: 1.851 MB / 0.7142 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008139/1.086, allocations: 93.88 kB / 0.7143 GB, free: 16.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006721/1.093, allocations: 2.594 MB / 0.7169 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/1.095, allocations: 0.7641 MB / 0.7176 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/1.099, allocations: 1.163 MB / 0.7187 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/1.111, allocations: 3.73 MB / 0.7224 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.111, allocations: 0 / 0.7224 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.997e-06/1.111, allocations: 2.469 kB / 0.7224 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002297/1.111, allocations: 0 / 0.7224 GB, free: 13.35 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.007262/1.119, allocations: 2.212 MB / 0.7245 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.119, allocations: 9.688 kB / 0.7245 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/1.123, allocations: 497.1 kB / 0.725 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/1.126, allocations: 1.316 MB / 0.7263 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/1.126, allocations: 188 kB / 0.7265 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005459/1.127, allocations: 170.7 kB / 0.7266 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/1.134, allocations: 2.394 MB / 0.729 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/1.134, allocations: 5.344 kB / 0.729 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/1.135, allocations: 73.5 kB / 0.7291 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/1.135, allocations: 70.16 kB / 0.7291 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/1.14, allocations: 2.024 MB / 0.7311 GB, free: 9.82 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.01244/1.153, allocations: 8.133 MB / 0.739 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/1.157, allocations: 1.526 MB / 0.7405 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/1.158, allocations: 0.5209 MB / 0.741 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/1.159, allocations: 149 kB / 0.7412 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/1.159, allocations: 47.81 kB / 0.7412 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=102): time 5.3e-06/1.159, allocations: 4 kB / 0.7412 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108): time 0.01535/1.174, allocations: 4.509 MB / 0.7456 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.174, allocations: 68.34 kB / 0.7457 GB, free: 13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.177, allocations: 1.403 MB / 0.7471 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.177, allocations: 49.7 kB / 0.7471 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/1.178, allocations: 0.8633 MB / 0.748 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/1.178, allocations: 401.4 kB / 0.7483 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.178, allocations: 117.6 kB / 0.7485 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.178, allocations: 357.9 kB / 0.7488 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/1.18, allocations: 0.6428 MB / 0.7494 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.182, allocations: 1.03 MB / 0.7504 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/1.186, allocations: 1.657 MB / 0.7521 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/1.186, allocations: 4 kB / 0.7521 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004395/1.19, allocations: 1.899 MB / 0.7539 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/1.19, allocations: 379.4 kB / 0.7543 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.19, allocations: 12 kB / 0.7543 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.19, allocations: 16 kB / 0.7543 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.192, allocations: 381.2 kB / 0.7547 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/1.192, allocations: 18.91 kB / 0.7547 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.195, allocations: 270.4 kB / 0.7549 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.195, allocations: 51.98 kB / 0.755 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.195, allocations: 4 kB / 0.755 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002204/1.197, allocations: 1.353 MB / 0.7563 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.197, allocations: 8 kB / 0.7563 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.197, allocations: 12 kB / 0.7563 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.198, allocations: 296.2 kB / 0.7566 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.198, allocations: 22.89 kB / 0.7566 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.2, allocations: 160.6 kB / 0.7568 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/1.2, allocations: 61.92 kB / 0.7569 GB, free: 1.32 MB / 0.5294 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.001071/1.201, allocations: 0.5266 MB / 0.7574 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/1.202, allocations: 173.9 kB / 0.7575 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/1.205, allocations: 1.564 MB / 0.7591 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.205, allocations: 11.98 kB / 0.7591 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.205, allocations: 0 / 0.7591 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003206/1.209, allocations: 1.472 MB / 0.7605 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/1.215, allocations: 3.197 MB / 0.7636 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.215, allocations: 3.938 kB / 0.7636 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.217, allocations: 340.5 kB / 0.764 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.217, allocations: 6.625 kB / 0.764 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/1.217, allocations: 35.97 kB / 0.764 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/1.217, allocations: 4.812 kB / 0.764 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.217, allocations: 0 / 0.764 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/1.222, allocations: 2.39 MB / 0.7663 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/1.223, allocations: 386.8 kB / 0.7667 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/1.223, allocations: 23.98 kB / 0.7667 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.225, allocations: 227.5 kB / 0.7669 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.225, allocations: 64.91 kB / 0.767 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.225, allocations: 55.58 kB / 0.7671 GB, free: 6.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0014/1.227, allocations: 0.9387 MB / 0.768 GB, free: 5.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.227, allocations: 0 / 0.768 GB, free: 5.828 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0022/1.229, allocations: 0.832 MB / 0.7688 GB, free: 4.996 MB / 0.545 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.000597/1.23, allocations: 266.3 kB / 0.769 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004814/1.234, allocations: 2.314 MB / 0.7713 GB, free: 2.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.234, allocations: 4 kB / 0.7713 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.236, allocations: 0.7147 MB / 0.772 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.241, allocations: 1.014 MB / 0.773 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/1.249, allocations: 4.889 MB / 0.7778 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.25, allocations: 1.489 MB / 0.7792 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002607/1.253, allocations: 0.5796 MB / 0.7798 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.253, allocations: 143.4 kB / 0.7799 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/1.253, allocations: 0 / 0.7799 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.06174/1.315, allocations: 34.67 MB / 0.8138 GB, free: 7.348 MB / 0.5919 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: