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.0007242/0.0007242, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007639/0.0007639, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8411/0.8411, allocations: 177.2 MB / 203.5 MB, free: 5.734 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.08831/0.08831, allocations: 17.37 MB / 277.3 MB, free: 11.84 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 1.503e-06/1.503e-06, allocations: 0 / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.181e-05, allocations: 2.281 kB / 412.7 MB, free: 15.94 MB / 394.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.02063/0.02065, allocations: 28.77 MB / 441.5 MB, free: 3.234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.172/0.1927, allocations: 8.152 MB / 449.6 MB, free: 59.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.1933, allocations: 24.41 kB / 449.6 MB, free: 59.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.195, allocations: 0.9863 MB / 450.6 MB, free: 59.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009824/0.196, allocations: 0.8383 MB / 451.5 MB, free: 59.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1971, allocations: 0.9757 MB / 452.4 MB, free: 59.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.1981, allocations: 2.068 MB / 454.5 MB, free: 58.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.1985, allocations: 416.6 kB / 454.9 MB, free: 57.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.1991, allocations: 1.215 MB / 456.1 MB, free: 57.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.1996, allocations: 0.7012 MB / 456.8 MB, free: 57.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1997, allocations: 223.7 kB / 457 MB, free: 57.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.2009, allocations: 1.16 MB / 458.2 MB, free: 56.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.2011, allocations: 0.6594 MB / 458.9 MB, free: 56.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.2015, allocations: 0.7352 MB / 459.6 MB, free: 56.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.2036, allocations: 4.077 MB / 463.7 MB, free: 54.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2036, allocations: 0 / 463.7 MB, free: 54.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2036, allocations: 0 / 463.7 MB, free: 54.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.2036, allocations: 0 / 463.7 MB, free: 54.38 MB / 410.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.001964/0.2055, allocations: 2.554 MB / 466.2 MB, free: 52.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2056, allocations: 9.375 kB / 466.2 MB, free: 52.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/0.2064, allocations: 0.5267 MB / 466.8 MB, free: 52.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.2073, allocations: 1.079 MB / 467.8 MB, free: 51.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.2075, allocations: 364 kB / 468.2 MB, free: 51.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2076, allocations: 201.8 kB / 468.4 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.212, allocations: 8.321 MB / 476.7 MB, free: 48.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.212, allocations: 192 / 476.7 MB, free: 48.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.2121, allocations: 86.83 kB / 476.8 MB, free: 47.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/0.2123, allocations: 349.7 kB / 477.1 MB, free: 47.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009087/0.2214, allocations: 14.41 MB / 491.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.2363, allocations: 18.71 MB / 0.4983 GB, free: 30.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.2393, allocations: 3.439 MB / 0.5017 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.2414, allocations: 2.795 MB / 0.5044 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007959/0.2422, allocations: 0.5742 MB / 0.505 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2422, allocations: 44.36 kB / 0.505 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.2422, allocations: 2.688 kB / 0.505 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.02592/0.2681, allocations: 16.64 MB / 0.5213 GB, free: 9.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004202/0.2723, allocations: 6.423 MB / 0.5275 GB, free: 3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007666/0.2731, allocations: 1.017 MB / 0.5285 GB, free: 1.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.2732, allocations: 48.39 kB / 0.5286 GB, free: 1.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.2735, allocations: 1.012 MB / 0.5296 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.2737, allocations: 428.2 kB / 0.53 GB, free: 492 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/0.2742, allocations: 410.8 kB / 0.5304 GB, free: 76 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2743, allocations: 349.9 kB / 0.5307 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.2774, allocations: 3.441 MB / 0.534 GB, free: 12.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.2805, allocations: 3.614 MB / 0.5376 GB, free: 8.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.2947, allocations: 10.27 MB / 0.5476 GB, free: 14.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2947, allocations: 0 / 0.5476 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.008155/0.3028, allocations: 7.429 MB / 0.5549 GB, free: 6.941 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3028, allocations: 6.656 kB / 0.5549 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3029, allocations: 8 kB / 0.5549 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008804/0.3037, allocations: 0.8033 MB / 0.5557 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.3062, allocations: 0.8168 MB / 0.5565 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009642/0.3158, allocations: 13.34 MB / 0.5695 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.3166, allocations: 61.23 kB / 0.5695 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.3169, allocations: 295.9 kB / 0.5698 GB, free: 7.102 MB / 458.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.001388/0.3183, allocations: 0.6041 MB / 0.5704 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.3186, allocations: 123.2 kB / 0.5705 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/0.3236, allocations: 3.624 MB / 0.5741 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.3236, allocations: 8 kB / 0.5741 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3236, allocations: 7.938 kB / 0.5741 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3236, allocations: 3.984 kB / 0.5741 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.3306, allocations: 6.17 MB / 0.5801 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3307, allocations: 4 kB / 0.5801 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.3319, allocations: 332.9 kB / 0.5804 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008807/0.3328, allocations: 374.6 kB / 0.5808 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.3329, allocations: 27.98 kB / 0.5808 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.3384, allocations: 8.153 MB / 0.5888 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002901/0.3413, allocations: 3.654 MB / 0.5923 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.3449, allocations: 2.577 MB / 0.5949 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.3451, allocations: 139.3 kB / 0.595 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3452, allocations: 35.94 kB / 0.595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.3457, allocations: 54.55 kB / 0.5951 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.3459, allocations: 128.6 kB / 0.5952 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.3459, allocations: 39.98 kB / 0.5952 GB, free: 12.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001917/0.3478, allocations: 2.305 MB / 0.5975 GB, free: 9.719 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3478, allocations: 0 / 0.5975 GB, free: 9.719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001783/0.3496, allocations: 0.7366 MB / 0.5982 GB, free: 8.984 MB / 490.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.0005609/0.3502, allocations: 406 kB / 0.5986 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.3542, allocations: 4.325 MB / 0.6028 GB, free: 4.207 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3542, allocations: 2.625 kB / 0.6028 GB, free: 4.207 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.3556, allocations: 1.349 MB / 0.6041 GB, free: 2.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.3566, allocations: 327.1 kB / 0.6045 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.3613, allocations: 4.279 MB / 0.6086 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008521/0.3621, allocations: 1.065 MB / 0.6097 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.3627, allocations: 208.4 kB / 0.6099 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.3627, allocations: 0 / 0.6099 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.2094/0.5721, allocations: 89.32 MB / 0.6971 GB, free: 113.6 MB / 0.4948 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.681022540666163] Failed to read output from testmodel.py, exit status != 0: 0.5787783926352859 0.588834382 0.383220173 Calling exit ...