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.001485/0.001485, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001658/0.001658, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.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.1275/0.1275, allocations: 23.86 MB / 336.3 MB, free: 11.18 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.001963/0.001963, allocations: 71.89 kB / 471.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 59.85 MB / 0.519 GB, free: 9.848 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.0359/0.3006, allocations: 29.58 MB / 0.5479 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3138, allocations: 9.355 MB / 0.5571 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.3148, allocations: 23.88 kB / 0.5571 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.3175, allocations: 1.064 MB / 0.5581 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3194, allocations: 0.8096 MB / 0.5589 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.3217, allocations: 0.9605 MB / 0.5599 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.3241, allocations: 2 MB / 0.5618 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.3248, allocations: 434.8 kB / 0.5622 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.3256, allocations: 0.7976 MB / 0.563 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.3267, allocations: 0.9569 MB / 0.5639 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.327, allocations: 220 kB / 0.5641 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.3306, allocations: 1.762 MB / 0.5659 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.3311, allocations: 0.6581 MB / 0.5665 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.3322, allocations: 1.193 MB / 0.5677 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.3371, allocations: 4.196 MB / 0.5718 GB, free: 4.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3371, allocations: 0 / 0.5718 GB, free: 4.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3371, allocations: 0 / 0.5718 GB, free: 4.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.187e-05/0.3372, allocations: 0 / 0.5718 GB, free: 4.039 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.003927/0.3411, allocations: 2.569 MB / 0.5743 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3411, allocations: 15.97 kB / 0.5743 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3422, allocations: 450.9 kB / 0.5747 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3438, allocations: 1.071 MB / 0.5758 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.3441, allocations: 371.2 kB / 0.5761 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.3444, allocations: 200.3 kB / 0.5763 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/0.3532, allocations: 8.304 MB / 0.5844 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.3532, allocations: 0 / 0.5844 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.3534, allocations: 79.98 kB / 0.5845 GB, free: 6.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/0.3537, allocations: 344.7 kB / 0.5848 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.3685, allocations: 14.4 MB / 0.5989 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.3963, allocations: 20.35 MB / 0.6188 GB, free: 3.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/0.4011, allocations: 3.41 MB / 0.6221 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003814/0.4049, allocations: 2.76 MB / 0.6248 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.407, allocations: 0.6687 MB / 0.6254 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.407, allocations: 43.56 kB / 0.6255 GB, free: 12.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.685e-06/0.407, allocations: 0 / 0.6255 GB, free: 12.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03945/0.4464, allocations: 16.59 MB / 0.6417 GB, free: 12.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009426/0.4559, allocations: 6.576 MB / 0.6481 GB, free: 5.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.4601, allocations: 2.935 MB / 0.651 GB, free: 2.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/0.4604, allocations: 45.7 kB / 0.651 GB, free: 2.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008956/0.4613, allocations: 0.931 MB / 0.6519 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/0.4619, allocations: 440.2 kB / 0.6524 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/0.4628, allocations: 394.8 kB / 0.6527 GB, free: 484 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.463, allocations: 353.9 kB / 0.6531 GB, free: 124 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/0.4675, allocations: 3.407 MB / 0.6564 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004646/0.4721, allocations: 3.583 MB / 0.6599 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0345/0.5066, allocations: 11.07 MB / 0.6707 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.5066, allocations: 7.984 kB / 0.6707 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01252/0.5191, allocations: 7.492 MB / 0.678 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5192, allocations: 8 kB / 0.678 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5192, allocations: 4 kB / 0.678 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.5205, allocations: 0.8124 MB / 0.6788 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004708/0.5252, allocations: 0.7961 MB / 0.6796 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.5407, allocations: 13.64 MB / 0.6929 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.5421, allocations: 47.97 kB / 0.693 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/0.5427, allocations: 291.9 kB / 0.6933 GB, free: 6.184 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.001256/0.5439, allocations: 0.5997 MB / 0.6938 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006567/0.5446, allocations: 258.3 kB / 0.6941 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009351/0.5539, allocations: 3.672 MB / 0.6977 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.554, allocations: 15.94 kB / 0.6977 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.554, allocations: 0 / 0.6977 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.554, allocations: 7.984 kB / 0.6977 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.5653, allocations: 6.381 MB / 0.7039 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5653, allocations: 4.719 kB / 0.7039 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/0.5678, allocations: 315.6 kB / 0.7042 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.5698, allocations: 371.9 kB / 0.7046 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.451e-05/0.5699, allocations: 27.98 kB / 0.7046 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009944/0.5798, allocations: 8.399 MB / 0.7128 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005672/0.5855, allocations: 3.763 MB / 0.7165 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006296/0.5918, allocations: 2.624 MB / 0.7191 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.5926, allocations: 370.3 kB / 0.7194 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.5931, allocations: 35.89 kB / 0.7194 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.594, allocations: 35.97 kB / 0.7195 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.5943, allocations: 132.8 kB / 0.7196 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.5944, allocations: 39.98 kB / 0.7196 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00491/0.5993, allocations: 3.669 MB / 0.7232 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5993, allocations: 0 / 0.7232 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002109/0.6014, allocations: 0.7652 MB / 0.724 GB, free: 5.504 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.0007255/0.6021, allocations: 417.8 kB / 0.7244 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006265/0.6084, allocations: 4.251 MB / 0.7285 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6084, allocations: 0 / 0.7285 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.1823/0.7907, allocations: 1.298 MB / 0.7298 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.7935, allocations: 0.6483 MB / 0.7304 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.7991, allocations: 4.503 MB / 0.7348 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.8003, allocations: 1.631 MB / 0.7364 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00158/0.8019, allocations: 0.5567 MB / 0.737 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009039/0.8028, allocations: 260.7 kB / 0.7372 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.8028, allocations: 0 / 0.7372 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07755/0.8803, allocations: 65.61 MB / 0.8013 GB, free: 133.3 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: 6.749480061000213] Failed to read output from testmodel.py, exit status != 0: 0.888255009893328 0.896295039 0.557075284 Calling exit ...