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.001519/0.001519, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001704/0.001704, allocations: 222 kB / 22.25 MB, free: 5.105 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.801 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.129/0.129, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.001994/0.001994, allocations: 63.91 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2693, allocations: 59.86 MB / 0.519 GB, free: 9.766 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.07142/0.3408, allocations: 28.38 MB / 0.5467 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.3539, allocations: 8.165 MB / 0.5547 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.3555, allocations: 23.88 kB / 0.5547 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.3588, allocations: 0.9673 MB / 0.5557 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.3616, allocations: 0.8171 MB / 0.5565 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3645, allocations: 0.9524 MB / 0.5574 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003292/0.3678, allocations: 2.003 MB / 0.5593 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.3685, allocations: 427.9 kB / 0.5597 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3698, allocations: 0.7975 MB / 0.5605 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.3713, allocations: 0.9647 MB / 0.5615 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.3718, allocations: 220 kB / 0.5617 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/0.375, allocations: 1.18 MB / 0.5628 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.3758, allocations: 0.6631 MB / 0.5635 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3773, allocations: 0.9059 MB / 0.5644 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005922/0.3832, allocations: 4.04 MB / 0.5683 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3832, allocations: 0 / 0.5683 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3832, allocations: 0 / 0.5683 GB, free: 7.285 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.283e-05/0.3833, allocations: 0 / 0.5683 GB, free: 7.285 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.005114/0.3884, allocations: 2.565 MB / 0.5708 GB, free: 4.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3884, allocations: 8.031 kB / 0.5708 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.3905, allocations: 0.5379 MB / 0.5713 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3926, allocations: 1.074 MB / 0.5724 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.393, allocations: 367.2 kB / 0.5727 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.3933, allocations: 196.4 kB / 0.5729 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.403, allocations: 8.327 MB / 0.5811 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.403, allocations: 0 / 0.5811 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.4032, allocations: 79.98 kB / 0.5811 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003837/0.4036, allocations: 344.7 kB / 0.5815 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.419, allocations: 14.42 MB / 0.5955 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.4472, allocations: 18.72 MB / 0.6138 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/0.4523, allocations: 3.438 MB / 0.6172 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/0.4561, allocations: 2.795 MB / 0.6199 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.4577, allocations: 0.5868 MB / 0.6205 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4577, allocations: 39.56 kB / 0.6205 GB, free: 1.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.146e-06/0.4577, allocations: 0 / 0.6205 GB, free: 1.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04202/0.4998, allocations: 16.63 MB / 0.6368 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009604/0.5094, allocations: 6.43 MB / 0.643 GB, free: 10.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5108, allocations: 1.021 MB / 0.644 GB, free: 9.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.511, allocations: 45.7 kB / 0.6441 GB, free: 9.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/0.5117, allocations: 1.004 MB / 0.6451 GB, free: 8.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.5123, allocations: 432.2 kB / 0.6455 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.5136, allocations: 414.8 kB / 0.6459 GB, free: 7.242 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5138, allocations: 349.9 kB / 0.6462 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/0.5184, allocations: 3.438 MB / 0.6496 GB, free: 3.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/0.5232, allocations: 3.614 MB / 0.6531 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02782/0.551, allocations: 10.26 MB / 0.6631 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.551, allocations: 7.938 kB / 0.6631 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01289/0.5639, allocations: 7.423 MB / 0.6704 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.564, allocations: 8 kB / 0.6704 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.564, allocations: 7.938 kB / 0.6704 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.5653, allocations: 0.8125 MB / 0.6712 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/0.5704, allocations: 0.8116 MB / 0.672 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.5857, allocations: 13.36 MB / 0.685 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.587, allocations: 63.94 kB / 0.6851 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/0.5875, allocations: 295.8 kB / 0.6854 GB, free: 14.08 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.001304/0.5888, allocations: 0.5991 MB / 0.6859 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005161/0.5893, allocations: 119.2 kB / 0.6861 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009943/0.5992, allocations: 3.619 MB / 0.6896 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5993, allocations: 8 kB / 0.6896 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5993, allocations: 4 kB / 0.6896 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5993, allocations: 7.969 kB / 0.6896 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.6121, allocations: 6.169 MB / 0.6956 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6121, allocations: 4.719 kB / 0.6956 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.6147, allocations: 331.6 kB / 0.696 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.6169, allocations: 375.8 kB / 0.6963 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.617, allocations: 39.97 kB / 0.6964 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.6271, allocations: 8.163 MB / 0.7043 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005875/0.633, allocations: 3.648 MB / 0.7079 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.6401, allocations: 2.582 MB / 0.7104 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.6404, allocations: 143.2 kB / 0.7105 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.6407, allocations: 39.83 kB / 0.7106 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.6417, allocations: 55.95 kB / 0.7106 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.642, allocations: 124.7 kB / 0.7108 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.6421, allocations: 39.98 kB / 0.7108 GB, free: 2.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00288/0.6449, allocations: 2.305 MB / 0.713 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6449, allocations: 3.938 kB / 0.7131 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002182/0.6471, allocations: 0.7341 MB / 0.7138 GB, free: 15.82 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.0007147/0.6478, allocations: 391 kB / 0.7141 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006866/0.6547, allocations: 4.325 MB / 0.7184 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.6547, allocations: 0 / 0.7184 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002887/0.6576, allocations: 1.348 MB / 0.7197 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6592, allocations: 329.3 kB / 0.72 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006769/0.6659, allocations: 4.236 MB / 0.7241 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.6673, allocations: 1.061 MB / 0.7252 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001133/0.6684, allocations: 401.7 kB / 0.7256 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008095/0.6692, allocations: 199.3 kB / 0.7257 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.6692, allocations: 0 / 0.7257 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of Templates: time 0.2408/0.91, allocations: 60.35 MB / 0.7847 GB, free: 147.9 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.525334014091641] Failed to read output from testmodel.py, exit status != 0: 0.918284866027534 0.927546707 0.542208109 Calling exit ...