Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000954/0.000954, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9875/0.9875, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1099/0.1099, allocations: 17.38 MB / 277.7 MB, free: 11.7 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.384e-05, allocations: 6.25 kB / 353.4 MB, free: 10.33 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.04495/0.04498, allocations: 32.31 MB / 385.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.05542, allocations: 8.959 MB / 394.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.05659, allocations: 27.88 kB / 394.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.0591, allocations: 0.9901 MB / 395.7 MB, free: 128 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.06129, allocations: 0.8335 MB / 396.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.06386, allocations: 0.968 MB / 397.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.06649, allocations: 2.081 MB / 399.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.06719, allocations: 423.5 kB / 400 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.06876, allocations: 1.216 MB / 401.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.06969, allocations: 0.7051 MB / 401.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.06999, allocations: 220 kB / 402.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.07237, allocations: 1.158 MB / 403.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.07311, allocations: 0.6619 MB / 404 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008543/0.07397, allocations: 0.7363 MB / 404.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.07816, allocations: 3.111 MB / 407.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.07816, allocations: 4 kB / 407.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.07816, allocations: 0 / 407.8 MB, free: 3.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.07819, allocations: 0 / 407.8 MB, free: 3.938 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.003421/0.08162, allocations: 2.805 MB / 410.6 MB, free: 1.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.983e-05/0.08169, allocations: 8.031 kB / 410.6 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.08365, allocations: 1.038 MB / 411.7 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1461/0.2298, allocations: 0.9779 MB / 412.7 MB, free: 63.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.2302, allocations: 365.2 kB / 413 MB, free: 62.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.2304, allocations: 197.6 kB / 413.2 MB, free: 62.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.2341, allocations: 2.635 MB / 415.8 MB, free: 62.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.2341, allocations: 1.906 kB / 415.8 MB, free: 62.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.2342, allocations: 82.06 kB / 415.9 MB, free: 62.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002988/0.2345, allocations: 344.1 kB / 416.3 MB, free: 62.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004806/0.2393, allocations: 3.779 MB / 420 MB, free: 61.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.2522, allocations: 11.01 MB / 431 MB, free: 52.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.2537, allocations: 0.6086 MB / 431.7 MB, free: 52.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/0.2545, allocations: 309.5 kB / 432 MB, free: 51.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/0.2553, allocations: 0.5674 MB / 432.5 MB, free: 51.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2553, allocations: 42.39 kB / 432.6 MB, free: 51.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 3.988e-06/0.2553, allocations: 0 / 432.6 MB, free: 51.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01504/0.2703, allocations: 5.384 MB / 438 MB, free: 45.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003633/0.274, allocations: 5.16 MB / 443.1 MB, free: 40.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.2747, allocations: 0.9269 MB / 444 MB, free: 39.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.2749, allocations: 45.7 kB / 444.1 MB, free: 39.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.2753, allocations: 1.102 MB / 445.2 MB, free: 38.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.2757, allocations: 433.2 kB / 445.6 MB, free: 37.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/0.2763, allocations: 392.4 kB / 446 MB, free: 37.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.2763, allocations: 0.5121 MB / 446.5 MB, free: 37.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.2774, allocations: 360.7 kB / 446.9 MB, free: 36.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.2785, allocations: 0.582 MB / 447.4 MB, free: 36.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.2812, allocations: 1.303 MB / 448.7 MB, free: 34.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2812, allocations: 0 / 448.7 MB, free: 34.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00416/0.2853, allocations: 1.717 MB / 450.5 MB, free: 32.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2853, allocations: 8 kB / 450.5 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2854, allocations: 4 kB / 450.5 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009527/0.2863, allocations: 0.6507 MB / 451.1 MB, free: 32.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.2888, allocations: 0.8051 MB / 451.9 MB, free: 31.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.2942, allocations: 10.76 MB / 462.7 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.295, allocations: 55.95 kB / 462.7 MB, free: 20.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.2953, allocations: 291.9 kB / 463 MB, free: 19.79 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009044/0.2962, allocations: 230.9 kB / 463.3 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.2967, allocations: 159.2 kB / 463.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.3011, allocations: 2.928 MB / 466.3 MB, free: 16.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3011, allocations: 14.91 kB / 466.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3011, allocations: 0 / 466.4 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3011, allocations: 3.984 kB / 466.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/0.3072, allocations: 4.817 MB / 471.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3072, allocations: 7.719 kB / 471.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.3086, allocations: 324.9 kB / 471.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.3101, allocations: 415.2 kB / 471.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/0.3102, allocations: 30.64 kB / 471.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.3152, allocations: 9.84 MB / 481.8 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003173/0.3184, allocations: 4.389 MB / 486.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.3216, allocations: 1.66 MB / 487.8 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.3219, allocations: 139.2 kB / 488 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.3221, allocations: 31.89 kB / 488 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.3226, allocations: 43.97 kB / 488 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.3228, allocations: 119.3 kB / 488.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.3229, allocations: 46.66 kB / 488.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00164/0.3245, allocations: 1.251 MB / 489.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3245, allocations: 0 / 489.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002302/0.3268, allocations: 0.7301 MB / 490.2 MB, free: 7.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006697/0.3275, allocations: 405.5 kB / 490.6 MB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.3302, allocations: 1.732 MB / 492.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3302, allocations: 0 / 492.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.3316, allocations: 1.365 MB / 493.7 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3328, allocations: 414.4 kB / 494.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.3385, allocations: 3.981 MB / 498.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.339, allocations: 474.4 kB / 498.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.34, allocations: 355.6 kB / 498.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.3406, allocations: 200.4 kB / 499.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.314e-06/0.3406, allocations: 0 / 499.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Templates: time 0.06156/0.4022, allocations: 58.62 MB / 0.5446 GB, free: 4.969 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.50364147988148]