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.001371/0.001371, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00158/0.00158, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1398/0.1398, allocations: 23.85 MB / 337 MB, free: 11.24 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.002089/0.002089, allocations: 59.91 kB / 472.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 59.86 MB / 0.5198 GB, free: 9.852 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.04351/0.3681, allocations: 29.57 MB / 0.5487 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.383, allocations: 9.361 MB / 0.5578 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.3845, allocations: 23.88 kB / 0.5578 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.3879, allocations: 1.063 MB / 0.5589 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.3905, allocations: 0.8098 MB / 0.5597 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.3935, allocations: 0.9593 MB / 0.5606 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.3968, allocations: 2.007 MB / 0.5626 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.3975, allocations: 427.5 kB / 0.563 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3986, allocations: 0.8013 MB / 0.5637 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.3999, allocations: 0.9569 MB / 0.5647 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.4002, allocations: 220 kB / 0.5649 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.4045, allocations: 1.763 MB / 0.5666 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.4051, allocations: 0.6581 MB / 0.5673 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.4063, allocations: 1.189 MB / 0.5684 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007096/0.4134, allocations: 4.196 MB / 0.5725 GB, free: 4.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4134, allocations: 4 kB / 0.5725 GB, free: 4.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4134, allocations: 3.938 kB / 0.5725 GB, free: 4.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.054e-05/0.4134, allocations: 0 / 0.5725 GB, free: 4.102 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.004792/0.4182, allocations: 2.573 MB / 0.575 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4183, allocations: 12.03 kB / 0.575 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.4195, allocations: 446.9 kB / 0.5755 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.4214, allocations: 1.07 MB / 0.5765 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.4218, allocations: 367.2 kB / 0.5769 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.4221, allocations: 200.3 kB / 0.5771 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.4322, allocations: 8.3 MB / 0.5852 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.4323, allocations: 3.938 kB / 0.5852 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.4324, allocations: 79.98 kB / 0.5852 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000407/0.4329, allocations: 344.7 kB / 0.5856 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.4495, allocations: 14.39 MB / 0.5996 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.4813, allocations: 20.36 MB / 0.6195 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/0.4868, allocations: 3.399 MB / 0.6228 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004088/0.4909, allocations: 2.764 MB / 0.6255 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/0.4931, allocations: 0.6726 MB / 0.6262 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.4932, allocations: 43.56 kB / 0.6262 GB, free: 12.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.905e-06/0.4932, allocations: 0 / 0.6262 GB, free: 12.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.04422/0.5374, allocations: 16.59 MB / 0.6424 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01037/0.5478, allocations: 6.588 MB / 0.6489 GB, free: 5.305 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.5525, allocations: 2.939 MB / 0.6517 GB, free: 2.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004117/0.5529, allocations: 45.7 kB / 0.6518 GB, free: 2.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.5539, allocations: 0.9271 MB / 0.6527 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/0.5547, allocations: 436.2 kB / 0.6531 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.5558, allocations: 398.8 kB / 0.6535 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.556, allocations: 349.9 kB / 0.6538 GB, free: 196 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/0.5609, allocations: 3.411 MB / 0.6571 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005017/0.5659, allocations: 3.575 MB / 0.6606 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0372/0.6031, allocations: 11.08 MB / 0.6715 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.6031, allocations: 0 / 0.6715 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01321/0.6163, allocations: 7.496 MB / 0.6788 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.6164, allocations: 8 kB / 0.6788 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.6164, allocations: 4 kB / 0.6788 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.6178, allocations: 0.8085 MB / 0.6796 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/0.6226, allocations: 0.7922 MB / 0.6804 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.6387, allocations: 13.65 MB / 0.6937 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.6403, allocations: 47.97 kB / 0.6937 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005837/0.6409, allocations: 287.9 kB / 0.694 GB, free: 6.254 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.001461/0.6423, allocations: 0.606 MB / 0.6946 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/0.643, allocations: 254.3 kB / 0.6948 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009732/0.6528, allocations: 3.672 MB / 0.6984 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6528, allocations: 15.94 kB / 0.6984 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6528, allocations: 0 / 0.6984 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6528, allocations: 7.984 kB / 0.6984 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.6649, allocations: 6.378 MB / 0.7047 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.665, allocations: 4 kB / 0.7047 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/0.6675, allocations: 312.4 kB / 0.705 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.6696, allocations: 371.9 kB / 0.7053 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.226e-05/0.6697, allocations: 35.92 kB / 0.7054 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.6803, allocations: 8.399 MB / 0.7136 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006074/0.6864, allocations: 3.767 MB / 0.7172 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.6933, allocations: 2.624 MB / 0.7198 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/0.6942, allocations: 370.3 kB / 0.7202 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/0.6948, allocations: 35.89 kB / 0.7202 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.696, allocations: 35.97 kB / 0.7202 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.6963, allocations: 128.8 kB / 0.7204 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.6964, allocations: 43.97 kB / 0.7204 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005482/0.7019, allocations: 3.665 MB / 0.724 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7019, allocations: 0 / 0.724 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002553/0.7044, allocations: 0.7691 MB / 0.7247 GB, free: 5.57 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.0008731/0.7053, allocations: 410.7 kB / 0.7251 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006825/0.7121, allocations: 4.255 MB / 0.7293 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7121, allocations: 0 / 0.7293 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2045/0.9166, allocations: 1.296 MB / 0.7305 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/0.9198, allocations: 0.6507 MB / 0.7312 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006504/0.9263, allocations: 4.631 MB / 0.7357 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.9276, allocations: 1.63 MB / 0.7373 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.9288, allocations: 269.5 kB / 0.7375 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.9288, allocations: 0 / 0.7375 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.08912/1.018, allocations: 97.43 MB / 0.8327 GB, free: 101.6 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: 15.56658286601305] Failed to read output from testmodel.py, exit status != 0: 1.0265266010537744 1.036136292 0.6203374620000001 Calling exit ...