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.001455/0.001455, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001678/0.001678, allocations: 221.6 kB / 22.3 MB, free: 5.305 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.565/1.565, allocations: 230.6 MB / 256.1 MB, free: 7.941 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.1675/0.1675, allocations: 23.89 MB / 336.4 MB, free: 10.95 MB / 270.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.002106/0.002106, allocations: 59.91 kB / 471.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 59.86 MB / 0.5191 GB, free: 9.816 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.08202/0.5017, allocations: 28.47 MB / 0.5469 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.5168, allocations: 8.16 MB / 0.5549 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.519, allocations: 27.88 kB / 0.5549 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003539/0.5225, allocations: 0.971 MB / 0.5559 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.5259, allocations: 0.8089 MB / 0.5566 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.5292, allocations: 0.9482 MB / 0.5576 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004233/0.5335, allocations: 2.007 MB / 0.5595 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008463/0.5343, allocations: 427 kB / 0.5599 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5359, allocations: 0.7984 MB / 0.5607 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.5372, allocations: 0.8202 MB / 0.5615 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.5376, allocations: 224 kB / 0.5617 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.5419, allocations: 1.148 MB / 0.5629 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007741/0.5426, allocations: 0.663 MB / 0.5635 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.5438, allocations: 0.9031 MB / 0.5644 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007905/0.5517, allocations: 4.033 MB / 0.5683 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5517, allocations: 3.938 kB / 0.5683 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5517, allocations: 3.938 kB / 0.5683 GB, free: 7.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.5517, allocations: 0 / 0.5683 GB, free: 7.352 MB / 414.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.005364/0.5571, allocations: 2.575 MB / 0.5708 GB, free: 4.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5572, allocations: 8.031 kB / 0.5709 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.5591, allocations: 0.5379 MB / 0.5714 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.5611, allocations: 1.07 MB / 0.5724 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.5615, allocations: 371.2 kB / 0.5728 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.5618, allocations: 192.4 kB / 0.573 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.5723, allocations: 8.335 MB / 0.5811 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.5723, allocations: 3.984 kB / 0.5811 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.5725, allocations: 79.98 kB / 0.5812 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003957/0.5729, allocations: 344.7 kB / 0.5815 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.5907, allocations: 14.41 MB / 0.5956 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03125/0.6219, allocations: 18.71 MB / 0.6139 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.6274, allocations: 3.442 MB / 0.6172 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/0.6315, allocations: 2.799 MB / 0.62 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.6331, allocations: 0.5713 MB / 0.6205 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.6332, allocations: 43.56 kB / 0.6206 GB, free: 1.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.226e-06/0.6332, allocations: 0 / 0.6206 GB, free: 1.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.05148/0.6846, allocations: 16.64 MB / 0.6368 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01326/0.6979, allocations: 6.426 MB / 0.6431 GB, free: 10.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.7001, allocations: 1.021 MB / 0.6441 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006701/0.7007, allocations: 45.7 kB / 0.6441 GB, free: 9.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.7019, allocations: 1.004 MB / 0.6451 GB, free: 8.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.703, allocations: 436.2 kB / 0.6455 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.7044, allocations: 418.7 kB / 0.6459 GB, free: 7.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002959/0.7047, allocations: 346 kB / 0.6462 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005557/0.7102, allocations: 3.434 MB / 0.6496 GB, free: 3.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.7152, allocations: 3.614 MB / 0.6531 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02729/0.7425, allocations: 10.27 MB / 0.6632 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.7425, allocations: 7.938 kB / 0.6632 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01329/0.7558, allocations: 7.423 MB / 0.6704 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.7559, allocations: 10.81 kB / 0.6704 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.7559, allocations: 4 kB / 0.6704 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.7573, allocations: 0.8047 MB / 0.6712 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/0.7622, allocations: 0.8077 MB / 0.672 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.7785, allocations: 13.36 MB / 0.6851 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.78, allocations: 55.95 kB / 0.6851 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/0.7805, allocations: 299.8 kB / 0.6854 GB, free: 14.14 MB / 0.5294 GB 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.00159/0.7821, allocations: 0.6029 MB / 0.686 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.7826, allocations: 119.2 kB / 0.6861 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009485/0.7921, allocations: 3.635 MB / 0.6896 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.7921, allocations: 12 kB / 0.6897 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7921, allocations: 0 / 0.6897 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7922, allocations: 3.984 kB / 0.6897 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.8042, allocations: 6.177 MB / 0.6957 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.8042, allocations: 8 kB / 0.6957 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/0.807, allocations: 335.6 kB / 0.696 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.809, allocations: 364 kB / 0.6964 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.809, allocations: 31.98 kB / 0.6964 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.8195, allocations: 8.164 MB / 0.7044 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005669/0.8252, allocations: 3.648 MB / 0.7079 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006942/0.8321, allocations: 2.578 MB / 0.7105 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.8326, allocations: 147.5 kB / 0.7106 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.8328, allocations: 35.88 kB / 0.7106 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.8337, allocations: 55.95 kB / 0.7107 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.834, allocations: 124.7 kB / 0.7108 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/0.8341, allocations: 39.98 kB / 0.7108 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003068/0.8372, allocations: 2.313 MB / 0.7131 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8372, allocations: 3.938 kB / 0.7131 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002638/0.8398, allocations: 0.7263 MB / 0.7138 GB, free: 15.88 MB / 0.5606 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.0008387/0.8407, allocations: 394.5 kB / 0.7142 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007299/0.848, allocations: 4.321 MB / 0.7184 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.848, allocations: 4 kB / 0.7184 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.8508, allocations: 1.348 MB / 0.7197 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.8525, allocations: 328.1 kB / 0.72 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.8607, allocations: 4.24 MB / 0.7242 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.8622, allocations: 1.068 MB / 0.7252 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001541/0.8637, allocations: 401.7 kB / 0.7256 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.8645, allocations: 196.4 kB / 0.7258 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.8645, allocations: 0 / 0.7258 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.3963/1.261, allocations: 57.75 MB / 0.7822 GB, free: 150.5 MB / 0.5606 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.048588838428259] Failed to read output from testmodel.py, exit status != 0: 1.2704336643218994 1.281681126 0.727285888 Calling exit ...