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.001344/0.001344, allocations: 117.8 kB / 17.13 MB, free: 6.004 MB / 14.72 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.001443/0.001443, allocations: 217.8 kB / 20.1 MB, free: 3.051 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1562/0.1562, allocations: 23.86 MB / 333.4 MB, free: 1.195 MB / 254.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.06 kB / 467.1 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 59.82 MB / 0.5146 GB, free: 12.46 MB / 382.1 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.04589/0.1981, allocations: 29.37 MB / 0.5433 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.2126, allocations: 9.353 MB / 0.5524 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.2146, allocations: 27.88 kB / 0.5525 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.2182, allocations: 1.072 MB / 0.5535 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.2212, allocations: 0.8183 MB / 0.5543 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.2244, allocations: 0.9683 MB / 0.5552 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003419/0.2278, allocations: 1.996 MB / 0.5572 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.2286, allocations: 0.491 MB / 0.5577 GB, free: 296 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2297, allocations: 0.798 MB / 0.5585 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.2308, allocations: 0.9609 MB / 0.5594 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.231, allocations: 220 kB / 0.5596 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004598/0.2356, allocations: 1.755 MB / 0.5613 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006507/0.2363, allocations: 0.6658 MB / 0.562 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2376, allocations: 1.189 MB / 0.5631 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.2449, allocations: 4.196 MB / 0.5672 GB, free: 6.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2449, allocations: 0 / 0.5672 GB, free: 6.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2449, allocations: 0 / 0.5672 GB, free: 6.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.245, allocations: 0 / 0.5672 GB, free: 6.477 MB / 430.1 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.004694/0.2497, allocations: 2.64 MB / 0.5698 GB, free: 3.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2497, allocations: 12.03 kB / 0.5698 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.2509, allocations: 450.9 kB / 0.5702 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2526, allocations: 1.131 MB / 0.5714 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.253, allocations: 307.8 kB / 0.5716 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.2532, allocations: 204.3 kB / 0.5718 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009353/0.2626, allocations: 7.948 MB / 0.5796 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.2626, allocations: 0 / 0.5796 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.2628, allocations: 83.98 kB / 0.5797 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/0.2632, allocations: 340.7 kB / 0.58 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3473/0.6105, allocations: 13.79 MB / 0.5935 GB, free: 64.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.6424, allocations: 20 MB / 0.613 GB, free: 55.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/0.6468, allocations: 3.366 MB / 0.6163 GB, free: 53.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.6499, allocations: 2.721 MB / 0.6189 GB, free: 51.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002089/0.6519, allocations: 1.634 MB / 0.6205 GB, free: 49.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.652, allocations: 44.91 kB / 0.6206 GB, free: 49.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=94): time 3.517e-06/0.652, allocations: 0 / 0.6206 GB, free: 49.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=122): time 0.03537/0.6873, allocations: 16.78 MB / 0.637 GB, free: 33.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007353/0.6947, allocations: 6.696 MB / 0.6435 GB, free: 26.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/0.698, allocations: 2.931 MB / 0.6464 GB, free: 23.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006808/0.6987, allocations: 48.36 kB / 0.6464 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.6993, allocations: 0.9348 MB / 0.6473 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/0.6997, allocations: 432.1 kB / 0.6477 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008561/0.7006, allocations: 398.8 kB / 0.6481 GB, free: 21.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.7007, allocations: 349.9 kB / 0.6485 GB, free: 21.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.7039, allocations: 3.339 MB / 0.6517 GB, free: 17.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/0.7073, allocations: 3.515 MB / 0.6551 GB, free: 14.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03109/0.7384, allocations: 11.01 MB / 0.6659 GB, free: 3.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.7384, allocations: 0 / 0.6659 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01228/0.7507, allocations: 7.377 MB / 0.6731 GB, free: 11.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.7507, allocations: 4.656 kB / 0.6731 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.7507, allocations: 6.719 kB / 0.6731 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.7522, allocations: 0.7785 MB / 0.6739 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/0.7575, allocations: 0.7973 MB / 0.6747 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.7752, allocations: 13.95 MB / 0.6883 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.7774, allocations: 47.22 kB / 0.6883 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005713/0.778, allocations: 294.5 kB / 0.6886 GB, free: 11.29 MB / 478.1 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.001882/0.7799, allocations: 0.6059 MB / 0.6892 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/0.7807, allocations: 257 kB / 0.6894 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009813/0.7905, allocations: 3.659 MB / 0.693 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7905, allocations: 8 kB / 0.693 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.7905, allocations: 4 kB / 0.693 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.7906, allocations: 3.984 kB / 0.693 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.8034, allocations: 6.331 MB / 0.6992 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8034, allocations: 4 kB / 0.6992 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00279/0.8062, allocations: 316.9 kB / 0.6995 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.8082, allocations: 370.5 kB / 0.6999 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.8083, allocations: 31.98 kB / 0.6999 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.8195, allocations: 8.899 MB / 0.7086 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006237/0.8258, allocations: 3.982 MB / 0.7125 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/0.8329, allocations: 2.599 MB / 0.715 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.8344, allocations: 439.4 kB / 0.7154 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007048/0.8351, allocations: 35.92 kB / 0.7155 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8361, allocations: 38.64 kB / 0.7155 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/0.8365, allocations: 119.3 kB / 0.7156 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.8366, allocations: 35.98 kB / 0.7157 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006083/0.8427, allocations: 3.677 MB / 0.7193 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8427, allocations: 0 / 0.7193 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003248/0.8459, allocations: 0.7652 MB / 0.72 GB, free: 9.898 MB / 0.4981 GB 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.0009274/0.8469, allocations: 409.7 kB / 0.7204 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007144/0.854, allocations: 4.178 MB / 0.7245 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.854, allocations: 0 / 0.7245 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.8568, allocations: 1.307 MB / 0.7257 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/0.8603, allocations: 0.6521 MB / 0.7264 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.8683, allocations: 4.602 MB / 0.7309 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.8699, allocations: 1.627 MB / 0.7325 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.8714, allocations: 267.3 kB / 0.7327 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of SimCode: time 1.733e-06/0.8714, allocations: 2.562 kB / 0.7327 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.413/1.284, allocations: 97.41 MB / 0.8279 GB, free: 192 MB / 0.5762 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: 17.675986429007025] Failed to read output from testmodel.py, exit status != 0: 1.2929926799843088 1.302189644 1.054985607 Calling exit ...