Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001073/0.001073, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4143/0.4143, allocations: 54.98 MB / 325.3 MB, free: 0.6758 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.0006074/0.0006075, allocations: 16 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3391, allocations: 60.72 MB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5738/0.9129, allocations: 265.5 MB / 0.7059 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.9423, allocations: 26.96 MB / 0.7322 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.9464, allocations: 79.16 kB / 0.7323 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.9523, allocations: 1.679 MB / 0.7339 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.9668, allocations: 4.447 MB / 0.7383 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008756/0.9755, allocations: 2.62 MB / 0.7408 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00889/0.9844, allocations: 4.049 MB / 0.7448 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.9893, allocations: 2.236 MB / 0.747 GB, free: 16.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009036/0.9983, allocations: 3.496 MB / 0.7504 GB, free: 16.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/1.002, allocations: 1.805 MB / 0.7521 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/1.004, allocations: 135.7 kB / 0.7523 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007684/1.011, allocations: 2.098 MB / 0.7543 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/1.013, allocations: 0.8744 MB / 0.7552 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/1.015, allocations: 0.6583 MB / 0.7558 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006622/1.022, allocations: 3.749 MB / 0.7595 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.022, allocations: 0 / 0.7595 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.647e-06/1.022, allocations: 9.844 kB / 0.7595 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001824/1.022, allocations: 0 / 0.7595 GB, free: 11.22 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.008439/1.03, allocations: 3.158 MB / 0.7626 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.031, allocations: 8.031 kB / 0.7626 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009996/1.041, allocations: 1.564 MB / 0.7641 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/1.045, allocations: 1.886 MB / 0.7659 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.047, allocations: 437.1 kB / 0.7664 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006903/1.047, allocations: 225.4 kB / 0.7666 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009594/1.057, allocations: 3.573 MB / 0.7701 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/1.057, allocations: 2.531 kB / 0.7701 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004791/1.057, allocations: 96.48 kB / 0.7702 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.058, allocations: 98.2 kB / 0.7703 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/1.068, allocations: 3.681 MB / 0.7738 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/1.092, allocations: 14.62 MB / 0.7881 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005371/1.097, allocations: 2.009 MB / 0.7901 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/1.098, allocations: 151.8 kB / 0.7902 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.098, allocations: 55.56 kB / 0.7903 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/1.099, allocations: 211.7 kB / 0.7905 GB, free: 212 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=106): time 5.169e-06/1.099, allocations: 0 / 0.7905 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=106): time 0.009136/1.108, allocations: 3.088 MB / 0.7935 GB, free: 13.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/1.109, allocations: 122.4 kB / 0.7936 GB, free: 13.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/1.113, allocations: 2.608 MB / 0.7962 GB, free: 11.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/1.113, allocations: 54.7 kB / 0.7962 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/1.114, allocations: 1.316 MB / 0.7975 GB, free: 10.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/1.114, allocations: 382.2 kB / 0.7979 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/1.114, allocations: 41.81 kB / 0.7979 GB, free: 10.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.115, allocations: 368.6 kB / 0.7983 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.118, allocations: 1.182 MB / 0.7994 GB, free: 9.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/1.121, allocations: 1.791 MB / 0.8012 GB, free: 7.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/1.125, allocations: 1.503 MB / 0.8026 GB, free: 6.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.125, allocations: 7.953 kB / 0.8026 GB, free: 6.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008122/1.133, allocations: 3.434 MB / 0.806 GB, free: 3.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.002418/1.135, allocations: 6.615 MB / 0.8124 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.136, allocations: 18.62 kB / 0.8125 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/1.136, allocations: 24 kB / 0.8125 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01179/1.147, allocations: 2.217 MB / 0.8147 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/1.162, allocations: 7.702 MB / 0.8222 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/1.167, allocations: 0.5051 MB / 0.8227 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.167, allocations: 98.64 kB / 0.8228 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.167, allocations: 4 kB / 0.8228 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006465/1.174, allocations: 2.973 MB / 0.8257 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.174, allocations: 19 kB / 0.8257 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/1.174, allocations: 28 kB / 0.8257 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.177, allocations: 0.5806 MB / 0.8263 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.332e-05/1.177, allocations: 34.36 kB / 0.8263 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.18, allocations: 379.4 kB / 0.8267 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/1.181, allocations: 99.2 kB / 0.8268 GB, free: 14.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001982/1.183, allocations: 0.6428 MB / 0.8274 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008151/1.184, allocations: 268.8 kB / 0.8277 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00543/1.189, allocations: 2.156 MB / 0.8298 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.189, allocations: 12 kB / 0.8298 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.189, allocations: 0 / 0.8298 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.189, allocations: 3.984 kB / 0.8298 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.205, allocations: 5.518 MB / 0.8352 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.205, allocations: 4 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01025/1.215, allocations: 1.901 MB / 0.837 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/1.215, allocations: 12 kB / 0.837 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/1.215, allocations: 30.61 kB / 0.8371 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.23, allocations: 7.541 MB / 0.8444 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.23, allocations: 15.05 kB / 0.8444 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/1.236, allocations: 2.61 MB / 0.847 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/1.237, allocations: 0.5522 MB / 0.8475 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/1.238, allocations: 24 kB / 0.8476 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.24, allocations: 327.5 kB / 0.8479 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.241, allocations: 90.66 kB / 0.848 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.241, allocations: 59.94 kB / 0.848 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003114/1.244, allocations: 1.802 MB / 0.8498 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.5e-07/1.244, allocations: 0 / 0.8498 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004192/1.248, allocations: 1.396 MB / 0.8511 GB, free: 5.414 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * 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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008524/1.249, allocations: 354 kB / 0.8515 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.269, allocations: 6.211 MB / 0.8575 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.269, allocations: 5 kB / 0.8575 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01723/1.286, allocations: 3.519 MB / 0.861 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006565/1.293, allocations: 1.287 MB / 0.8622 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009414/1.302, allocations: 5.109 MB / 0.8672 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/1.304, allocations: 1.756 MB / 0.8689 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004342/1.308, allocations: 0.7985 MB / 0.8697 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/1.309, allocations: 195.4 kB / 0.8699 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/1.309, allocations: 0 / 0.8699 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.4208/1.73, allocations: 48.22 MB / 0.917 GB, free: 82.45 MB / 0.6075 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: