Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001305/0.001305, allocations: 102.1 kB / 19.7 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.001509/0.001509, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1495/0.1495, allocations: 23.88 MB / 337.1 MB, free: 11.16 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002357/0.002357, allocations: 67.89 kB / 472.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3988, allocations: 59.88 MB / 0.5199 GB, free: 9.828 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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 master/Boundaries.mo:1336:7-1336: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 master/Boundaries.mo:1350:7-1350: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 master/Boundaries.mo:1350:7-1350: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.04596/0.4448, allocations: 29.65 MB / 0.5488 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.4605, allocations: 9.378 MB / 0.558 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.463, allocations: 35.81 kB / 0.558 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.4668, allocations: 1.009 MB / 0.559 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.4704, allocations: 0.8386 MB / 0.5598 GB, free: 144 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.4741, allocations: 0.9498 MB / 0.5608 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.4782, allocations: 1.988 MB / 0.5627 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.479, allocations: 427.4 kB / 0.5631 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.4806, allocations: 0.8345 MB / 0.5639 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.4827, allocations: 1.087 MB / 0.565 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004146/0.4831, allocations: 208 kB / 0.5652 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004776/0.4879, allocations: 1.661 MB / 0.5668 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007814/0.4886, allocations: 0.5878 MB / 0.5674 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.4901, allocations: 1.146 MB / 0.5685 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007694/0.4978, allocations: 3.998 MB / 0.5724 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4978, allocations: 0 / 0.5724 GB, free: 4.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4978, allocations: 0 / 0.5724 GB, free: 4.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.784e-05/0.4979, allocations: 3.938 kB / 0.5724 GB, free: 4.18 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.004917/0.5028, allocations: 2.506 MB / 0.5748 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5029, allocations: 12.03 kB / 0.5749 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000926/0.5038, allocations: 411 kB / 0.5753 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.5054, allocations: 0.8974 MB / 0.5761 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.5057, allocations: 271.4 kB / 0.5764 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.506, allocations: 200.3 kB / 0.5766 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009298/0.5153, allocations: 6.902 MB / 0.5833 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.5154, allocations: 0 / 0.5833 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.5155, allocations: 83.97 kB / 0.5834 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003863/0.5159, allocations: 328.7 kB / 0.5837 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.5311, allocations: 12.65 MB / 0.5961 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.55, allocations: 11.34 MB / 0.6071 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.5516, allocations: 0.7567 MB / 0.6079 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.5524, allocations: 439.7 kB / 0.6083 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007924/0.5603, allocations: 3.725 MB / 0.6119 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5604, allocations: 47.16 kB / 0.612 GB, free: 11.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.965e-06/0.5604, allocations: 0 / 0.612 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=77): time 0.01169/0.5721, allocations: 3.714 MB / 0.6156 GB, free: 7.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5721, allocations: 60.06 kB / 0.6157 GB, free: 7.461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5741, allocations: 1.407 MB / 0.617 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5742, allocations: 37.7 kB / 0.6171 GB, free: 6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009658/0.5752, allocations: 1.118 MB / 0.6182 GB, free: 4.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.5755, allocations: 285.6 kB / 0.6184 GB, free: 4.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.576, allocations: 310.7 kB / 0.6187 GB, free: 4.273 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5761, allocations: 345.9 kB / 0.6191 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.5769, allocations: 410.5 kB / 0.6195 GB, free: 3.531 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.5781, allocations: 0.8548 MB / 0.6203 GB, free: 2.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.5973, allocations: 3.894 MB / 0.6241 GB, free: 14.35 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.5973, allocations: 7.938 kB / 0.6241 GB, free: 14.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004119/0.6014, allocations: 1.698 MB / 0.6258 GB, free: 12.63 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.6015, allocations: 12 kB / 0.6258 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.6015, allocations: 20 kB / 0.6258 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/0.6021, allocations: 194.8 kB / 0.626 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.6044, allocations: 455.4 kB / 0.6264 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.6092, allocations: 4.346 MB / 0.6306 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6103, allocations: 48.05 kB / 0.6307 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.6106, allocations: 180 kB / 0.6309 GB, free: 7.043 MB / 478.1 MB 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: 69 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.6119, allocations: 0.6058 MB / 0.6315 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.6122, allocations: 155 kB / 0.6316 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.6166, allocations: 1.848 MB / 0.6334 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6167, allocations: 8 kB / 0.6334 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6167, allocations: 3.938 kB / 0.6334 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6167, allocations: 3.984 kB / 0.6334 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.6223, allocations: 2.83 MB / 0.6362 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6223, allocations: 0 / 0.6362 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.6239, allocations: 211.9 kB / 0.6364 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/0.6244, allocations: 174.5 kB / 0.6366 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.6245, allocations: 23.98 kB / 0.6366 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/0.6293, allocations: 4.453 MB / 0.6409 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6293, allocations: 128 / 0.6409 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.6326, allocations: 1.344 MB / 0.6422 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.633, allocations: 162.9 kB / 0.6424 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.6332, allocations: 16 kB / 0.6424 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.6338, allocations: 15.98 kB / 0.6424 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6339, allocations: 52.41 kB / 0.6425 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.634, allocations: 23.98 kB / 0.6425 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.6356, allocations: 1.155 MB / 0.6436 GB, free: 9.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6356, allocations: 0 / 0.6436 GB, free: 9.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001638/0.6373, allocations: 435.6 kB / 0.644 GB, free: 9.012 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007243/0.638, allocations: 378.7 kB / 0.6444 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.6409, allocations: 1.277 MB / 0.6457 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6409, allocations: 4.125 kB / 0.6457 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.6424, allocations: 0.6744 MB / 0.6463 GB, free: 6.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6444, allocations: 424.6 kB / 0.6467 GB, free: 6.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/0.6515, allocations: 3.733 MB / 0.6504 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.6531, allocations: 1.593 MB / 0.6519 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/0.654, allocations: 227.3 kB / 0.6521 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.654, allocations: 0 / 0.6521 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of Templates: time 0.07401/0.728, allocations: 57.22 MB / 0.708 GB, free: 7.34 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_master_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.720642902015243] Failed to read output from testmodel.py, exit status != 0: 0.7395288269908633 0.753637751 0.25225926600000004 Calling exit ...