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.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002486/0.002486, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.55/1.55, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.393/0.393, allocations: 54.94 MB / 324.4 MB, free: 132 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.001409/0.001409, allocations: 67.91 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 59.58 MB / 454.5 MB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.886/1.041, allocations: 239.9 MB / 0.6782 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02499/1.066, allocations: 15.7 MB / 0.6935 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005562/1.071, allocations: 77.03 kB / 0.6936 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/1.077, allocations: 1.132 MB / 0.6947 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/1.093, allocations: 3.474 MB / 0.6981 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008242/1.102, allocations: 1.755 MB / 0.6998 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01407/1.116, allocations: 5.718 MB / 0.7054 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/1.12, allocations: 1.717 MB / 0.707 GB, free: 16.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009226/1.129, allocations: 2.829 MB / 0.7098 GB, free: 16.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/1.135, allocations: 1.942 MB / 0.7117 GB, free: 16.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001121/1.137, allocations: 201.7 kB / 0.7119 GB, free: 16.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008383/1.145, allocations: 2.393 MB / 0.7142 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.147, allocations: 0.8696 MB / 0.7151 GB, free: 16.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004029/1.151, allocations: 1.265 MB / 0.7163 GB, free: 16.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009485/1.16, allocations: 3.867 MB / 0.7201 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.16, allocations: 4 kB / 0.7201 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.136e-06/1.16, allocations: 0 / 0.7201 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.708e-05/1.16, allocations: 0 / 0.7201 GB, free: 14.83 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.006609/1.167, allocations: 2.649 MB / 0.7227 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/1.167, allocations: 10.5 kB / 0.7227 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/1.17, allocations: 485.3 kB / 0.7232 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/1.173, allocations: 1.325 MB / 0.7244 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/1.173, allocations: 194.5 kB / 0.7246 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/1.174, allocations: 167.2 kB / 0.7248 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006827/1.181, allocations: 2.323 MB / 0.7271 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.099e-05/1.181, allocations: 3.188 kB / 0.7271 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/1.181, allocations: 67.25 kB / 0.7271 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.181, allocations: 67.31 kB / 0.7272 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005525/1.186, allocations: 1.949 MB / 0.7291 GB, free: 10.2 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.01318/1.2, allocations: 8.119 MB / 0.737 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/1.204, allocations: 1.449 MB / 0.7384 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/1.205, allocations: 0.5224 MB / 0.7389 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/1.205, allocations: 130.3 kB / 0.7391 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/1.205, allocations: 55.56 kB / 0.7391 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=102): time 3.036e-06/1.205, allocations: 0 / 0.7391 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108): time 0.01451/1.22, allocations: 4.281 MB / 0.7433 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.22, allocations: 68.34 kB / 0.7434 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/1.222, allocations: 1.396 MB / 0.7447 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.222, allocations: 57.64 kB / 0.7448 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/1.223, allocations: 0.8694 MB / 0.7456 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/1.224, allocations: 392.3 kB / 0.746 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/1.224, allocations: 254.7 kB / 0.7463 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.224, allocations: 353.9 kB / 0.7466 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/1.226, allocations: 0.6286 MB / 0.7472 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/1.228, allocations: 0.9906 MB / 0.7482 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/1.231, allocations: 1.585 MB / 0.7497 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.231, allocations: 0 / 0.7497 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004642/1.236, allocations: 1.836 MB / 0.7515 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/1.236, allocations: 41.7 kB / 0.7516 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.236, allocations: 8 kB / 0.7516 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.236, allocations: 12 kB / 0.7516 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.238, allocations: 377.1 kB / 0.7519 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.041e-05/1.238, allocations: 18.61 kB / 0.7519 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.241, allocations: 246 kB / 0.7522 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.241, allocations: 51.98 kB / 0.7522 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001555/1.242, allocations: 0.8235 MB / 0.753 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/1.243, allocations: 0.8297 MB / 0.7538 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001841/1.245, allocations: 1.281 MB / 0.7551 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/1.245, allocations: 8 kB / 0.7551 GB, free: 14.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002845/1.248, allocations: 1.51 MB / 0.7566 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/1.248, allocations: 41.69 kB / 0.7566 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.248, allocations: 10.06 kB / 0.7566 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.248, allocations: 12 kB / 0.7566 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.249, allocations: 302 kB / 0.7569 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-05/1.249, allocations: 25.08 kB / 0.757 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.251, allocations: 168.2 kB / 0.7571 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/1.252, allocations: 52 kB / 0.7572 GB, free: 12.45 MB / 0.545 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.0005868/1.252, allocations: 262.7 kB / 0.7574 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/1.253, allocations: 173.9 kB / 0.7576 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/1.256, allocations: 1.5 MB / 0.759 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.256, allocations: 11.94 kB / 0.7591 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.256, allocations: 7.984 kB / 0.7591 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003248/1.26, allocations: 1.406 MB / 0.7604 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/1.267, allocations: 3.132 MB / 0.7635 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.267, allocations: 1.375 kB / 0.7635 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.269, allocations: 324.5 kB / 0.7638 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/1.269, allocations: 4 kB / 0.7638 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/1.269, allocations: 31.97 kB / 0.7638 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/1.269, allocations: 4 kB / 0.7638 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.269, allocations: 4 kB / 0.7638 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/1.274, allocations: 2.283 MB / 0.7661 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.276, allocations: 382.8 kB / 0.7664 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/1.276, allocations: 24 kB / 0.7665 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.278, allocations: 203.6 kB / 0.7667 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.279, allocations: 72.89 kB / 0.7667 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/1.279, allocations: 52.89 kB / 0.7668 GB, free: 2.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001706/1.28, allocations: 0.9381 MB / 0.7677 GB, free: 1.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/1.28, allocations: 0 / 0.7677 GB, free: 1.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003008/1.283, allocations: 0.836 MB / 0.7685 GB, free: 0.7383 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.0007615/1.284, allocations: 263.2 kB / 0.7688 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006183/1.29, allocations: 2.555 MB / 0.7713 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/1.29, allocations: 4 kB / 0.7713 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.292, allocations: 0.6777 MB / 0.7719 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005289/1.297, allocations: 0.9765 MB / 0.7729 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009924/1.307, allocations: 4.636 MB / 0.7774 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/1.31, allocations: 1.485 MB / 0.7789 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004104/1.314, allocations: 0.5796 MB / 0.7794 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/1.315, allocations: 143.4 kB / 0.7796 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.695e-06/1.315, allocations: 0 / 0.7796 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.0681/1.383, allocations: 35.52 MB / 0.8142 GB, free: 2.434 MB / 0.5919 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)