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.0008709/0.0008709, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007965/0.0007965, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.8922/0.8922, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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.08484/0.08484, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 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.0009169/0.0009169, allocations: 67.88 kB / 412.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3311, allocations: 59.83 MB / 472.6 MB, free: 29.77 MB / 410.7 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.02761/0.3588, allocations: 28.66 MB / 0.4895 GB, free: 17.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00816/0.3669, allocations: 8.16 MB / 0.4975 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.3674, allocations: 23.88 kB / 0.4975 GB, free: 11.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3692, allocations: 0.9787 MB / 0.4985 GB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3702, allocations: 0.821 MB / 0.4993 GB, free: 9.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3713, allocations: 0.9478 MB / 0.5002 GB, free: 8.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.3726, allocations: 2 MB / 0.5022 GB, free: 7.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.373, allocations: 418.8 kB / 0.5026 GB, free: 6.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008047/0.3738, allocations: 1.272 MB / 0.5038 GB, free: 5.715 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.3744, allocations: 0.8241 MB / 0.5046 GB, free: 5.051 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.3746, allocations: 224 kB / 0.5048 GB, free: 4.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3758, allocations: 1.163 MB / 0.506 GB, free: 3.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.3761, allocations: 0.6479 MB / 0.5066 GB, free: 3.262 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.3766, allocations: 0.9066 MB / 0.5075 GB, free: 2.422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.3797, allocations: 4.041 MB / 0.5114 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3798, allocations: 0 / 0.5114 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3798, allocations: 0 / 0.5114 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.3798, allocations: 4 kB / 0.5114 GB, free: 15.35 MB / 426.7 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.002846/0.3826, allocations: 2.562 MB / 0.5139 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3827, allocations: 16.03 kB / 0.514 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3837, allocations: 0.5334 MB / 0.5145 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.3849, allocations: 1.074 MB / 0.5155 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002685/0.3852, allocations: 372.1 kB / 0.5159 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.3854, allocations: 197.1 kB / 0.5161 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006717/0.3921, allocations: 8.339 MB / 0.5242 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.3921, allocations: 4 kB / 0.5242 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3923, allocations: 83.97 kB / 0.5243 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.3925, allocations: 340.7 kB / 0.5246 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009744/0.4022, allocations: 14.42 MB / 0.5387 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.4183, allocations: 18.71 MB / 0.557 GB, free: 1.406 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.4216, allocations: 3.439 MB / 0.5603 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.424, allocations: 2.807 MB / 0.5631 GB, free: 11.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008658/0.4249, allocations: 0.5635 MB / 0.5636 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.4249, allocations: 43.56 kB / 0.5637 GB, free: 10.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.238e-06/0.4249, allocations: 4 kB / 0.5637 GB, free: 10.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02252/0.4474, allocations: 16.63 MB / 0.5799 GB, free: 9.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005455/0.4529, allocations: 6.429 MB / 0.5862 GB, free: 3.172 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008843/0.4538, allocations: 1.013 MB / 0.5872 GB, free: 2.148 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.4539, allocations: 45.7 kB / 0.5872 GB, free: 2.098 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000646/0.4545, allocations: 1.016 MB / 0.5882 GB, free: 1.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.4549, allocations: 432.2 kB / 0.5886 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005659/0.4554, allocations: 410.8 kB / 0.589 GB, free: 240 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4555, allocations: 349.9 kB / 0.5893 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/0.4584, allocations: 3.438 MB / 0.5927 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.4616, allocations: 3.613 MB / 0.5962 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/0.4758, allocations: 10.27 MB / 0.6063 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4758, allocations: 3.938 kB / 0.6063 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007698/0.4835, allocations: 7.419 MB / 0.6135 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4836, allocations: 16.08 kB / 0.6135 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4836, allocations: 4 kB / 0.6135 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008054/0.4844, allocations: 0.8046 MB / 0.6143 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/0.4868, allocations: 0.8116 MB / 0.6151 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/0.4965, allocations: 13.36 MB / 0.6282 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.4972, allocations: 63.94 kB / 0.6282 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.4975, allocations: 300.1 kB / 0.6285 GB, free: 7.078 MB / 0.5261 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.001262/0.4987, allocations: 0.5873 MB / 0.6291 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.499, allocations: 119.3 kB / 0.6292 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5043, allocations: 3.643 MB / 0.6327 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5043, allocations: 8 kB / 0.6328 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5043, allocations: 11.98 kB / 0.6328 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.5043, allocations: 3.984 kB / 0.6328 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2749/0.7792, allocations: 6.169 MB / 0.6388 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.7792, allocations: 5.828 kB / 0.6388 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.7808, allocations: 327.5 kB / 0.6391 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.7818, allocations: 370.3 kB / 0.6395 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.7819, allocations: 31.69 kB / 0.6395 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.7869, allocations: 8.165 MB / 0.6475 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00246/0.7894, allocations: 3.645 MB / 0.651 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.7932, allocations: 2.581 MB / 0.6535 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.7934, allocations: 148.1 kB / 0.6537 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.7935, allocations: 37.58 kB / 0.6537 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.794, allocations: 59.42 kB / 0.6538 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.7942, allocations: 124.5 kB / 0.6539 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.7943, allocations: 42 kB / 0.6539 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001668/0.796, allocations: 2.307 MB / 0.6562 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/0.796, allocations: 0 / 0.6562 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002156/0.7981, allocations: 0.7295 MB / 0.6569 GB, free: 128.4 MB / 0.5261 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.0006977/0.7988, allocations: 400.4 kB / 0.6573 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.8035, allocations: 4.318 MB / 0.6615 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8035, allocations: 1.156 kB / 0.6615 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.8051, allocations: 1.345 MB / 0.6628 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.8062, allocations: 318.2 kB / 0.6631 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.8114, allocations: 4.247 MB / 0.6673 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.8127, allocations: 1.061 MB / 0.6683 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009039/0.8136, allocations: 407 kB / 0.6687 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.8141, allocations: 204 kB / 0.6689 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/0.8141, allocations: 0 / 0.6689 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.05088/0.865, allocations: 57.18 MB / 0.7247 GB, free: 79.8 MB / 0.5261 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.990857716067694] Failed to read output from testmodel.py, exit status != 0: 0.8711137539939955 0.877343591 0.49614524899999995 Calling exit ...