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.009137/0.009136, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.002252/0.002252, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4639/0.4639, allocations: 54.95 MB / 324.9 MB, free: 16 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.00152/0.00152, allocations: 73.64 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1551, allocations: 59.6 MB / 0.5038 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7139/0.8691, allocations: 328.6 MB / 0.8247 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03882/0.9079, allocations: 29.93 MB / 0.8539 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006552/0.9146, allocations: 95.44 kB / 0.854 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.007775/0.9224, allocations: 2.179 MB / 0.8561 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.9363, allocations: 4.961 MB / 0.8609 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.9468, allocations: 3.895 MB / 0.8647 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01242/0.9593, allocations: 7.191 MB / 0.8718 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008048/0.9674, allocations: 2.848 MB / 0.8746 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01645/0.9839, allocations: 5.228 MB / 0.8797 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009213/0.9931, allocations: 2.673 MB / 0.8823 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002617/0.9958, allocations: 312 kB / 0.8826 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.013/1.009, allocations: 4.576 MB / 0.887 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002578/1.011, allocations: 1.13 MB / 0.8881 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.556/1.567, allocations: 1.799 MB / 0.8899 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02456/1.592, allocations: 5.841 MB / 0.8956 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.649e-06/1.592, allocations: 2.25 kB / 0.8956 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/1.592, allocations: 0 / 0.8956 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002624/1.592, allocations: 0 / 0.8956 GB, free: 13.16 MB / 0.6544 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.01999/1.613, allocations: 3.867 MB / 0.8994 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.613, allocations: 9.812 kB / 0.8994 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/1.632, allocations: 1.457 MB / 0.9008 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009005/1.641, allocations: 2.036 MB / 0.9028 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/1.642, allocations: 179.5 kB / 0.903 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/1.644, allocations: 229.6 kB / 0.9032 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/1.663, allocations: 3.48 MB / 0.9066 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/1.663, allocations: 8.469 kB / 0.9066 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/1.664, allocations: 97.06 kB / 0.9067 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/1.664, allocations: 95.8 kB / 0.9068 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/1.683, allocations: 3.54 MB / 0.9102 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04261/1.726, allocations: 14.35 MB / 0.9242 GB, free: 18.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.736, allocations: 1.922 MB / 0.9261 GB, free: 18.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/1.739, allocations: 0.7779 MB / 0.9269 GB, free: 18.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/1.74, allocations: 135.6 kB / 0.927 GB, free: 18.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/1.74, allocations: 54.27 kB / 0.9271 GB, free: 18.56 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00295/1.743, allocations: 217.3 kB / 0.9273 GB, free: 18.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 1.263e-05/1.743, allocations: 0 / 0.9273 GB, free: 18.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=106): time 0.01828/1.762, allocations: 2.943 MB / 0.9301 GB, free: 18.24 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.762, allocations: 116.7 kB / 0.9303 GB, free: 18.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007822/1.77, allocations: 2.587 MB / 0.9328 GB, free: 17.85 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005917/1.77, allocations: 59.8 kB / 0.9328 GB, free: 17.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.772, allocations: 1.311 MB / 0.9341 GB, free: 17.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/1.772, allocations: 381.7 kB / 0.9345 GB, free: 17.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/1.774, allocations: 420 kB / 0.9349 GB, free: 17.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.774, allocations: 303.4 kB / 0.9352 GB, free: 16.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.78, allocations: 1.121 MB / 0.9363 GB, free: 16.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/1.785, allocations: 1.733 MB / 0.938 GB, free: 15.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.795, allocations: 2.69 MB / 0.9406 GB, free: 15.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/1.795, allocations: 3.094 kB / 0.9406 GB, free: 15.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01387/1.809, allocations: 3.308 MB / 0.9438 GB, free: 14.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/1.809, allocations: 188.6 kB / 0.944 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.661e-05/1.81, allocations: 13.41 kB / 0.944 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.504e-05/1.81, allocations: 26.03 kB / 0.944 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/1.828, allocations: 1.919 MB / 0.9459 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/1.852, allocations: 7.713 MB / 0.9534 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/1.859, allocations: 333.2 kB / 0.9538 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007689/1.86, allocations: 103.5 kB / 0.9539 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006659/1.866, allocations: 1.472 MB / 0.9553 GB, free: 8.641 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004749/1.871, allocations: 1.623 MB / 0.9569 GB, free: 7.914 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00763/1.879, allocations: 2.493 MB / 0.9593 GB, free: 7.105 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.372e-05/1.879, allocations: 5.188 kB / 0.9593 GB, free: 7.105 MB / 0.67 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.01269/1.892, allocations: 3.096 MB / 0.9623 GB, free: 6.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.892, allocations: 187.8 kB / 0.9625 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/1.892, allocations: 17.42 kB / 0.9625 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/1.892, allocations: 22.47 kB / 0.9626 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.896, allocations: 0.5515 MB / 0.9631 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/1.896, allocations: 39.09 kB / 0.9631 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005878/1.902, allocations: 290.4 kB / 0.9634 GB, free: 6.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/1.902, allocations: 98.33 kB / 0.9635 GB, free: 6.465 MB / 0.67 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 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/1.903, allocations: 309.3 kB / 0.9638 GB, free: 6.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.905, allocations: 260.5 kB / 0.9641 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/1.913, allocations: 2.083 MB / 0.9661 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.913, allocations: 11.84 kB / 0.9661 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.914, allocations: 0 / 0.9661 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.914, allocations: 5.625 kB / 0.9661 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.933, allocations: 5.258 MB / 0.9712 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.933, allocations: 8.031 kB / 0.9712 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00987/1.943, allocations: 1.634 MB / 0.9728 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.752e-05/1.943, allocations: 7.562 kB / 0.9729 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/1.943, allocations: 32.2 kB / 0.9729 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.958, allocations: 7.571 MB / 0.9803 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.958, allocations: 7.656 kB / 0.9803 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/1.964, allocations: 2.176 MB / 0.9824 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.966, allocations: 0.5363 MB / 0.9829 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.967, allocations: 22.38 kB / 0.983 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/1.97, allocations: 224.1 kB / 0.9832 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.971, allocations: 83 kB / 0.9832 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.971, allocations: 62.62 kB / 0.9833 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003853/1.975, allocations: 1.774 MB / 0.985 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.01e-07/1.975, allocations: 0 / 0.985 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005789/1.981, allocations: 1.394 MB / 0.9864 GB, free: 11.01 MB / 0.6856 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009801/1.982, allocations: 337.8 kB / 0.9867 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01967/2.001, allocations: 5.784 MB / 0.9924 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.001, allocations: 8.062 kB / 0.9924 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0173/2.019, allocations: 3.131 MB / 0.9954 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009173/2.028, allocations: 1.29 MB / 0.9967 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/2.038, allocations: 4.348 MB / 1.001 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/2.04, allocations: 1.703 MB / 1.003 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004154/2.045, allocations: 0.7979 MB / 1.003 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/2.045, allocations: 195.6 kB / 1.004 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/2.045, allocations: 1.531 kB / 1.004 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of Templates: time 0.08515/2.131, allocations: 50.79 MB / 1.053 GB, free: 9.098 MB / 0.7481 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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)