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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.00156, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.64/1.64, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5014/0.5014, allocations: 54.95 MB / 324.7 MB, free: 15.93 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.00158/0.00158, allocations: 67.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1494, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9132/1.063, allocations: 242.6 MB / 0.6812 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02637/1.089, allocations: 15.73 MB / 0.6965 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/1.094, allocations: 76.34 kB / 0.6966 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004309/1.098, allocations: 1.277 MB / 0.6979 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/1.111, allocations: 3.687 MB / 0.7015 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00694/1.118, allocations: 1.907 MB / 0.7033 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01254/1.131, allocations: 5.713 MB / 0.7089 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004101/1.135, allocations: 1.766 MB / 0.7106 GB, free: 16.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009466/1.144, allocations: 2.806 MB / 0.7134 GB, free: 16.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006116/1.15, allocations: 1.836 MB / 0.7152 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008119/1.151, allocations: 201 kB / 0.7153 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007726/1.159, allocations: 2.311 MB / 0.7176 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001564/1.161, allocations: 0.8666 MB / 0.7184 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/1.164, allocations: 1.263 MB / 0.7197 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007699/1.171, allocations: 3.712 MB / 0.7233 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.171, allocations: 0 / 0.7233 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/1.171, allocations: 0 / 0.7233 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.74e-05/1.172, allocations: 0 / 0.7233 GB, free: 13.88 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.007668/1.179, allocations: 2.652 MB / 0.7259 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.179, allocations: 10.72 kB / 0.7259 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/1.182, allocations: 494 kB / 0.7264 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/1.185, allocations: 1.311 MB / 0.7277 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/1.185, allocations: 190.2 kB / 0.7278 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/1.186, allocations: 168.9 kB / 0.728 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/1.192, allocations: 2.324 MB / 0.7303 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/1.192, allocations: 7.094 kB / 0.7303 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/1.192, allocations: 75.92 kB / 0.7303 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-05/1.192, allocations: 63.06 kB / 0.7304 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005473/1.198, allocations: 1.945 MB / 0.7323 GB, free: 7.918 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.0136/1.212, allocations: 8.189 MB / 0.7403 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/1.216, allocations: 1.457 MB / 0.7417 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/1.217, allocations: 0.5185 MB / 0.7422 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/1.217, allocations: 132.5 kB / 0.7424 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.217, allocations: 47.56 kB / 0.7424 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=102): time 3.827e-06/1.217, allocations: 4 kB / 0.7424 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108): time 0.01362/1.231, allocations: 4.284 MB / 0.7466 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.231, allocations: 64.41 kB / 0.7467 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.233, allocations: 1.399 MB / 0.748 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/1.233, allocations: 53.64 kB / 0.7481 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/1.234, allocations: 0.8686 MB / 0.7489 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/1.234, allocations: 388.8 kB / 0.7493 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/1.234, allocations: 258.7 kB / 0.7495 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.234, allocations: 357.9 kB / 0.7499 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.236, allocations: 0.6188 MB / 0.7505 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.238, allocations: 0.9908 MB / 0.7515 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/1.241, allocations: 1.592 MB / 0.753 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.241, allocations: 4 kB / 0.753 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004087/1.245, allocations: 1.843 MB / 0.7548 GB, free: 24 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/1.245, allocations: 37.64 kB / 0.7548 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.245, allocations: 8 kB / 0.7549 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/1.245, allocations: 16 kB / 0.7549 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.247, allocations: 367.5 kB / 0.7552 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/1.247, allocations: 23.36 kB / 0.7552 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.249, allocations: 131.9 kB / 0.7554 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.249, allocations: 61.59 kB / 0.7554 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001545/1.251, allocations: 0.8195 MB / 0.7562 GB, free: 14.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/1.252, allocations: 0.8302 MB / 0.757 GB, free: 13.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/1.254, allocations: 1.29 MB / 0.7583 GB, free: 12.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.031e-06/1.254, allocations: 4 kB / 0.7583 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002558/1.256, allocations: 1.511 MB / 0.7598 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/1.256, allocations: 37.73 kB / 0.7598 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.256, allocations: 8 kB / 0.7598 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.256, allocations: 19.94 kB / 0.7598 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.257, allocations: 294 kB / 0.7601 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/1.257, allocations: 18.53 kB / 0.7601 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.259, allocations: 70.47 kB / 0.7602 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/1.259, allocations: 57.19 kB / 0.7603 GB, free: 10.27 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.000503/1.26, allocations: 266 kB / 0.7605 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/1.26, allocations: 177.9 kB / 0.7607 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/1.264, allocations: 1.494 MB / 0.7621 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.264, allocations: 12 kB / 0.7622 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.264, allocations: 0.625 kB / 0.7622 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003035/1.267, allocations: 1.406 MB / 0.7635 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/1.274, allocations: 3.123 MB / 0.7666 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.274, allocations: 8.062 kB / 0.7666 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.275, allocations: 319.5 kB / 0.7669 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/1.275, allocations: 8 kB / 0.7669 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/1.275, allocations: 31.98 kB / 0.7669 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.275, allocations: 4 kB / 0.7669 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.275, allocations: 7.031 kB / 0.7669 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/1.281, allocations: 2.29 MB / 0.7692 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009027/1.281, allocations: 378.8 kB / 0.7695 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/1.282, allocations: 24 kB / 0.7696 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.283, allocations: 131.8 kB / 0.7697 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.283, allocations: 71.42 kB / 0.7697 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.284, allocations: 59.95 kB / 0.7698 GB, free: 400 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00143/1.285, allocations: 0.9352 MB / 0.7707 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.285, allocations: 0 / 0.7707 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002223/1.287, allocations: 0.8403 MB / 0.7715 GB, free: 14.62 MB / 0.5606 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.0005413/1.288, allocations: 247.7 kB / 0.7718 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00568/1.294, allocations: 2.551 MB / 0.7743 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.294, allocations: 4 kB / 0.7743 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.295, allocations: 0.6814 MB / 0.7749 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/1.3, allocations: 0.9679 MB / 0.7759 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/1.309, allocations: 3.926 MB / 0.7797 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.311, allocations: 1.489 MB / 0.7812 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003851/1.314, allocations: 0.5796 MB / 0.7817 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/1.315, allocations: 143.4 kB / 0.7819 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.315, allocations: 0 / 0.7819 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.06931/1.385, allocations: 35.84 MB / 0.8169 GB, free: 0.7266 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)