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.001416/0.001416, allocations: 105.4 kB / 16.45 MB, free: 6.398 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.001498/0.001498, allocations: 212.8 kB / 19.43 MB, free: 3.734 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.1495/0.1495, allocations: 23.84 MB / 332.7 MB, free: 12.34 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.002951/0.002951, allocations: 63.91 kB / 466.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3718, allocations: 59.83 MB / 0.5139 GB, free: 9.195 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.04444/0.4162, allocations: 29.34 MB / 0.5426 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.4316, allocations: 9.342 MB / 0.5517 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.4341, allocations: 23.88 kB / 0.5517 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.4383, allocations: 1.076 MB / 0.5528 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.4423, allocations: 0.8217 MB / 0.5536 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.4458, allocations: 0.9666 MB / 0.5545 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004059/0.4499, allocations: 2.005 MB / 0.5565 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.4507, allocations: 491.3 kB / 0.557 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.4521, allocations: 0.7976 MB / 0.5577 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.4534, allocations: 0.961 MB / 0.5587 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003006/0.4537, allocations: 220 kB / 0.5589 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.4589, allocations: 1.762 MB / 0.5606 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008526/0.4598, allocations: 0.6596 MB / 0.5612 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.4614, allocations: 1.187 MB / 0.5624 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008977/0.4703, allocations: 4.202 MB / 0.5665 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4704, allocations: 0 / 0.5665 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4704, allocations: 0 / 0.5665 GB, free: 5.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.262e-05/0.4704, allocations: 0 / 0.5665 GB, free: 5.328 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.005077/0.4755, allocations: 2.647 MB / 0.5691 GB, free: 2.621 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4756, allocations: 8.031 kB / 0.5691 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.4769, allocations: 450.9 kB / 0.5695 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.4788, allocations: 1.127 MB / 0.5706 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.4792, allocations: 311.8 kB / 0.5709 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.4795, allocations: 204.3 kB / 0.5711 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0098/0.4893, allocations: 7.944 MB / 0.5789 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.4893, allocations: 7.938 kB / 0.5789 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.4895, allocations: 79.98 kB / 0.579 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004044/0.4899, allocations: 344.7 kB / 0.5793 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.5074, allocations: 13.78 MB / 0.5928 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03813/0.5455, allocations: 20.01 MB / 0.6123 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.5523, allocations: 3.369 MB / 0.6156 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/0.5568, allocations: 2.725 MB / 0.6182 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003258/0.5601, allocations: 1.624 MB / 0.6198 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.5602, allocations: 43.55 kB / 0.6199 GB, free: 14.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 5.35e-06/0.5602, allocations: 0 / 0.6199 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04663/0.6068, allocations: 16.78 MB / 0.6363 GB, free: 13.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01138/0.6182, allocations: 6.694 MB / 0.6428 GB, free: 6.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006639/0.6248, allocations: 2.939 MB / 0.6457 GB, free: 3.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005761/0.6254, allocations: 45.7 kB / 0.6457 GB, free: 3.207 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.6266, allocations: 0.9271 MB / 0.6466 GB, free: 2.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.6276, allocations: 440.2 kB / 0.647 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.629, allocations: 394.8 kB / 0.6474 GB, free: 1.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6292, allocations: 361.9 kB / 0.6478 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/0.6342, allocations: 3.337 MB / 0.651 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.6392, allocations: 3.52 MB / 0.6544 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03904/0.6783, allocations: 10.99 MB / 0.6652 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.6783, allocations: 0 / 0.6652 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01425/0.6925, allocations: 7.379 MB / 0.6724 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.6926, allocations: 7.984 kB / 0.6724 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.6926, allocations: 8 kB / 0.6724 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.6941, allocations: 0.7773 MB / 0.6732 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/0.6995, allocations: 0.8077 MB / 0.674 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/0.717, allocations: 13.94 MB / 0.6876 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.7189, allocations: 43.97 kB / 0.6876 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/0.7197, allocations: 295.9 kB / 0.6879 GB, free: 7.078 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.001861/0.7215, allocations: 0.5979 MB / 0.6885 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.7226, allocations: 254.3 kB / 0.6887 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.7334, allocations: 3.661 MB / 0.6923 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.7334, allocations: 15.88 kB / 0.6923 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.7334, allocations: 4 kB / 0.6923 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.7335, allocations: 7.969 kB / 0.6923 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7473, allocations: 6.318 MB / 0.6985 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.7473, allocations: 4 kB / 0.6985 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/0.7502, allocations: 315.7 kB / 0.6988 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.7524, allocations: 367.9 kB / 0.6991 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.7525, allocations: 39.91 kB / 0.6992 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/0.7642, allocations: 8.909 MB / 0.7079 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006349/0.7706, allocations: 3.978 MB / 0.7118 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007536/0.7781, allocations: 2.593 MB / 0.7143 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7792, allocations: 443.4 kB / 0.7147 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008056/0.78, allocations: 28 kB / 0.7148 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.7815, allocations: 39.97 kB / 0.7148 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/0.7819, allocations: 120.7 kB / 0.7149 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.7821, allocations: 43.91 kB / 0.7149 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007017/0.7891, allocations: 3.669 MB / 0.7185 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7891, allocations: 4 kB / 0.7185 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003572/0.7926, allocations: 0.7652 MB / 0.7193 GB, free: 5.508 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.001173/0.7938, allocations: 410.8 kB / 0.7197 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007612/0.8014, allocations: 4.176 MB / 0.7238 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8014, allocations: 0 / 0.7238 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2809/1.082, allocations: 1.304 MB / 0.725 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004104/1.086, allocations: 0.6426 MB / 0.7257 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/1.095, allocations: 4.489 MB / 0.73 GB, free: 180 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.097, allocations: 1.63 MB / 0.7316 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002643/1.099, allocations: 0.5578 MB / 0.7322 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.1, allocations: 263.9 kB / 0.7324 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.873e-06/1.1, allocations: 0 / 0.7324 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.08749/1.188, allocations: 64.93 MB / 0.7958 GB, free: 135 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: 7.994217235594988] Failed to read output from testmodel.py, exit status != 0: 1.1978052407503128 1.204265797 0.7317704549999999 Calling exit ...