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.001422/0.001422, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001812/0.001812, allocations: 209.4 kB / 22.99 MB, free: 4.41 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.151/0.151, allocations: 23.89 MB / 337.1 MB, free: 10.93 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.002053/0.002053, allocations: 70.38 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 59.85 MB / 0.5197 GB, free: 9.805 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.07741/0.4733, allocations: 28.43 MB / 0.5475 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.488, allocations: 8.165 MB / 0.5555 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.4899, allocations: 23.88 kB / 0.5555 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.4933, allocations: 0.9716 MB / 0.5564 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.4964, allocations: 0.817 MB / 0.5572 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.4997, allocations: 0.9481 MB / 0.5582 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003269/0.5029, allocations: 2.012 MB / 0.5601 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.5037, allocations: 419.2 kB / 0.5605 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5047, allocations: 0.8023 MB / 0.5613 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.5059, allocations: 0.9642 MB / 0.5623 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.5062, allocations: 220 kB / 0.5625 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.5095, allocations: 1.187 MB / 0.5636 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006297/0.5101, allocations: 0.6475 MB / 0.5643 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008926/0.511, allocations: 0.9119 MB / 0.5651 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.5165, allocations: 4.033 MB / 0.5691 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5165, allocations: 3.938 kB / 0.5691 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5165, allocations: 0 / 0.5691 GB, free: 7.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.561e-05/0.5165, allocations: 4 kB / 0.5691 GB, free: 7.254 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.003999/0.5205, allocations: 2.565 MB / 0.5716 GB, free: 4.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5205, allocations: 12.03 kB / 0.5716 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.5223, allocations: 0.534 MB / 0.5721 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.5241, allocations: 1.078 MB / 0.5732 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.5245, allocations: 367.2 kB / 0.5735 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.5248, allocations: 200.3 kB / 0.5737 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00993/0.5347, allocations: 8.335 MB / 0.5819 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.5348, allocations: 4 kB / 0.5819 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5349, allocations: 75.98 kB / 0.5819 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004131/0.5353, allocations: 344.7 kB / 0.5823 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.5517, allocations: 14.41 MB / 0.5963 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03411/0.5859, allocations: 18.71 MB / 0.6146 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005312/0.5912, allocations: 3.438 MB / 0.618 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/0.5951, allocations: 2.799 MB / 0.6207 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.5966, allocations: 0.5791 MB / 0.6213 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5967, allocations: 43.56 kB / 0.6213 GB, free: 1.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.858e-06/0.5967, allocations: 4 kB / 0.6213 GB, free: 1.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04102/0.6377, allocations: 16.62 MB / 0.6376 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00932/0.647, allocations: 6.433 MB / 0.6438 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6485, allocations: 1.017 MB / 0.6448 GB, free: 9.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004775/0.649, allocations: 49.69 kB / 0.6449 GB, free: 9.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007998/0.6498, allocations: 1 MB / 0.6459 GB, free: 8.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006307/0.6504, allocations: 436.2 kB / 0.6463 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009481/0.6514, allocations: 414.7 kB / 0.6467 GB, free: 7.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6515, allocations: 349.9 kB / 0.647 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004646/0.6562, allocations: 3.43 MB / 0.6503 GB, free: 3.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/0.6611, allocations: 3.618 MB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02601/0.6871, allocations: 10.26 MB / 0.6639 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6871, allocations: 3.938 kB / 0.6639 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0128/0.6999, allocations: 7.423 MB / 0.6712 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.6999, allocations: 12.09 kB / 0.6712 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.7, allocations: 4 kB / 0.6712 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.7013, allocations: 0.7968 MB / 0.6719 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/0.7064, allocations: 0.8155 MB / 0.6727 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.7219, allocations: 13.36 MB / 0.6858 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.7234, allocations: 63.95 kB / 0.6859 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004784/0.7239, allocations: 300.1 kB / 0.6861 GB, free: 14.05 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.001467/0.7254, allocations: 0.5912 MB / 0.6867 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005307/0.7259, allocations: 119.2 kB / 0.6868 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/0.7347, allocations: 3.627 MB / 0.6904 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.7348, allocations: 15.94 kB / 0.6904 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7348, allocations: 4 kB / 0.6904 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7348, allocations: 3.984 kB / 0.6904 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.7475, allocations: 6.177 MB / 0.6964 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.7475, allocations: 8 kB / 0.6964 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002693/0.7502, allocations: 332 kB / 0.6968 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.7519, allocations: 363.9 kB / 0.6971 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.7521, allocations: 31.98 kB / 0.6971 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.7625, allocations: 8.159 MB / 0.7051 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005369/0.7679, allocations: 3.651 MB / 0.7087 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/0.7746, allocations: 2.586 MB / 0.7112 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/0.7751, allocations: 143.2 kB / 0.7113 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.7755, allocations: 39.88 kB / 0.7114 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.7763, allocations: 47.95 kB / 0.7114 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.7766, allocations: 120.7 kB / 0.7115 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.7767, allocations: 43.97 kB / 0.7116 GB, free: 2.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003039/0.7797, allocations: 2.313 MB / 0.7138 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7797, allocations: 0 / 0.7138 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002831/0.7826, allocations: 0.7302 MB / 0.7145 GB, free: 15.8 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.0008327/0.7834, allocations: 405.8 kB / 0.7149 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007087/0.7905, allocations: 4.325 MB / 0.7192 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.7905, allocations: 0 / 0.7192 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.7933, allocations: 1.34 MB / 0.7205 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.7952, allocations: 329.6 kB / 0.7208 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008038/0.8033, allocations: 4.381 MB / 0.7251 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.8047, allocations: 1.057 MB / 0.7261 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.8059, allocations: 211.3 kB / 0.7263 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.8059, allocations: 3.938 kB / 0.7263 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of Templates: time 0.3815/1.187, allocations: 89.23 MB / 0.8134 GB, free: 116.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: 15.095765364996623] Failed to read output from testmodel.py, exit status != 0: 1.1971430609701201 1.2059754520000001 0.687223409 Calling exit ...