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.001692/0.001692, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002067/0.002067, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1523/0.1523, allocations: 23.88 MB / 337.1 MB, free: 11 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.002067/0.002067, allocations: 63.91 kB / 472.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3942, allocations: 59.86 MB / 0.5197 GB, free: 9.836 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.07853/0.4728, allocations: 28.34 MB / 0.5474 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.4875, allocations: 8.164 MB / 0.5554 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.4899, allocations: 27.81 kB / 0.5554 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.4938, allocations: 0.9692 MB / 0.5564 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.4971, allocations: 0.8132 MB / 0.5571 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.5005, allocations: 0.9474 MB / 0.5581 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.504, allocations: 2 MB / 0.56 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.5048, allocations: 427.4 kB / 0.5604 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.506, allocations: 0.806 MB / 0.5612 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.5073, allocations: 0.9525 MB / 0.5622 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003594/0.5077, allocations: 220 kB / 0.5624 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.511, allocations: 1.191 MB / 0.5635 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.5117, allocations: 0.6591 MB / 0.5642 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.5127, allocations: 0.9027 MB / 0.565 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006397/0.5191, allocations: 4.037 MB / 0.569 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5191, allocations: 0 / 0.569 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5191, allocations: 0 / 0.569 GB, free: 7.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.5192, allocations: 0 / 0.569 GB, free: 7.398 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.004994/0.5242, allocations: 2.569 MB / 0.5715 GB, free: 4.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5243, allocations: 8.031 kB / 0.5715 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.5263, allocations: 0.534 MB / 0.572 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.5282, allocations: 1.078 MB / 0.5731 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.5286, allocations: 367.2 kB / 0.5734 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.5289, allocations: 200.3 kB / 0.5736 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009976/0.5389, allocations: 8.331 MB / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.5389, allocations: 0 / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.5391, allocations: 83.98 kB / 0.5818 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00039/0.5395, allocations: 344.7 kB / 0.5822 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.5557, allocations: 14.41 MB / 0.5962 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.5861, allocations: 18.71 MB / 0.6145 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/0.5913, allocations: 3.454 MB / 0.6179 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/0.5951, allocations: 2.795 MB / 0.6206 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.5968, allocations: 0.583 MB / 0.6212 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.5968, allocations: 39.56 kB / 0.6212 GB, free: 1.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.885e-06/0.5968, allocations: 0 / 0.6212 GB, free: 1.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04265/0.6395, allocations: 16.62 MB / 0.6374 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00987/0.6494, allocations: 6.437 MB / 0.6437 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6508, allocations: 1.013 MB / 0.6447 GB, free: 9.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004463/0.6513, allocations: 45.7 kB / 0.6448 GB, free: 9.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00075/0.652, allocations: 1.008 MB / 0.6458 GB, free: 8.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.6526, allocations: 444.2 kB / 0.6462 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.6536, allocations: 410.8 kB / 0.6466 GB, free: 7.344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6538, allocations: 345.9 kB / 0.6469 GB, free: 7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/0.6584, allocations: 3.434 MB / 0.6502 GB, free: 3.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.6632, allocations: 3.618 MB / 0.6538 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02768/0.6909, allocations: 10.26 MB / 0.6638 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.6909, allocations: 11.88 kB / 0.6638 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01346/0.7044, allocations: 7.427 MB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.7044, allocations: 4 kB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7044, allocations: 4 kB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.7058, allocations: 0.8046 MB / 0.6719 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005237/0.7111, allocations: 0.8117 MB / 0.6727 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.727, allocations: 13.36 MB / 0.6857 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.7285, allocations: 67.94 kB / 0.6858 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/0.729, allocations: 287.9 kB / 0.686 GB, free: 14.2 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.001575/0.7306, allocations: 0.603 MB / 0.6866 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.7311, allocations: 119.2 kB / 0.6867 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009967/0.7411, allocations: 3.623 MB / 0.6903 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.7411, allocations: 12 kB / 0.6903 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7411, allocations: 0 / 0.6903 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.7411, allocations: 7.969 kB / 0.6903 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.7545, allocations: 6.173 MB / 0.6963 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.7545, allocations: 8 kB / 0.6963 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/0.7573, allocations: 331.7 kB / 0.6967 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.7595, allocations: 371.9 kB / 0.697 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.7596, allocations: 31.97 kB / 0.697 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.7702, allocations: 8.164 MB / 0.705 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006137/0.7763, allocations: 3.647 MB / 0.7086 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/0.7839, allocations: 2.586 MB / 0.7111 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.7844, allocations: 147.2 kB / 0.7112 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.7848, allocations: 31.89 kB / 0.7113 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/0.7858, allocations: 55.95 kB / 0.7113 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.7861, allocations: 124.7 kB / 0.7114 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.7862, allocations: 31.98 kB / 0.7115 GB, free: 3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003059/0.7892, allocations: 2.313 MB / 0.7137 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7892, allocations: 0 / 0.7137 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002651/0.7919, allocations: 0.7341 MB / 0.7144 GB, free: 15.94 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.0008465/0.7927, allocations: 406.6 kB / 0.7148 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007807/0.8005, allocations: 4.317 MB / 0.7191 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.8006, allocations: 0 / 0.7191 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003386/0.8039, allocations: 1.344 MB / 0.7204 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8063, allocations: 339 kB / 0.7207 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.8145, allocations: 4.232 MB / 0.7248 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.8159, allocations: 1.061 MB / 0.7259 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001614/0.8176, allocations: 409.7 kB / 0.7262 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/0.8184, allocations: 199.3 kB / 0.7264 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/0.8184, allocations: 0 / 0.7264 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of Templates: time 0.3464/1.165, allocations: 60.33 MB / 0.7854 GB, free: 148.1 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5795482430112315] Failed to read output from testmodel.py, exit status != 0: 1.1745531790074892 1.183683058 0.662188011 Calling exit ...