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.00107/0.00107, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001321/0.001321, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8598/0.8598, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08758/0.08758, allocations: 17.45 MB / 277.4 MB, free: 11.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 412.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.54e-05, allocations: 9.797 kB / 412.9 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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:1361:7-1361: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:1361:7-1361: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.02027/0.02028, allocations: 29.12 MB / 442 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.1822, allocations: 9.147 MB / 451.1 MB, free: 59.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.1831, allocations: 53.06 kB / 451.2 MB, free: 59.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.1849, allocations: 1.053 MB / 452.2 MB, free: 59.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1863, allocations: 1.087 MB / 453.3 MB, free: 58.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1879, allocations: 1.159 MB / 454.5 MB, free: 58.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.189, allocations: 2.256 MB / 456.7 MB, free: 56.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.1894, allocations: 422.4 kB / 457.1 MB, free: 56.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.19, allocations: 1.326 MB / 458.5 MB, free: 56.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.1907, allocations: 0.9344 MB / 459.4 MB, free: 55.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1908, allocations: 209.7 kB / 459.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1923, allocations: 1.384 MB / 461 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1925, allocations: 0.665 MB / 461.7 MB, free: 55.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.1929, allocations: 0.7377 MB / 462.4 MB, free: 54.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.195, allocations: 4.087 MB / 466.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.195, allocations: 0 / 466.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.195, allocations: 2.656 kB / 466.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.195, allocations: 4.656 kB / 466.5 MB, free: 52.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.001976/0.197, allocations: 2.577 MB / 469.1 MB, free: 51.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.197, allocations: 9.219 kB / 469.1 MB, free: 51.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000762/0.1978, allocations: 0.5178 MB / 469.6 MB, free: 51.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.1988, allocations: 1.278 MB / 470.9 MB, free: 50.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.1989, allocations: 267.9 kB / 471.1 MB, free: 50.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.1991, allocations: 211.5 kB / 471.3 MB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.2032, allocations: 7.412 MB / 478.8 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.2032, allocations: 192 / 478.8 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/0.2033, allocations: 85.27 kB / 478.8 MB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.2035, allocations: 333.1 kB / 479.2 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/0.2121, allocations: 13.39 MB / 492.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.2207, allocations: 10.47 MB / 0.4912 GB, free: 36.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2218, allocations: 0.7658 MB / 0.492 GB, free: 36.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.2223, allocations: 479.5 kB / 0.4924 GB, free: 36.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003642/0.226, allocations: 3.539 MB / 0.4959 GB, free: 33.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.226, allocations: 42.64 kB / 0.4959 GB, free: 32.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.224e-06/0.226, allocations: 0 / 0.4959 GB, free: 32.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=76): time 0.005705/0.2317, allocations: 3.742 MB / 0.4996 GB, free: 29.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2317, allocations: 60.77 kB / 0.4996 GB, free: 29.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.2324, allocations: 1.014 MB / 0.5006 GB, free: 28.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.2325, allocations: 41.7 kB / 0.5007 GB, free: 28.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.2328, allocations: 1.163 MB / 0.5018 GB, free: 27.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2329, allocations: 275.9 kB / 0.5021 GB, free: 27.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.2331, allocations: 322.1 kB / 0.5024 GB, free: 26.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2332, allocations: 344.5 kB / 0.5027 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.2337, allocations: 449.2 kB / 0.5031 GB, free: 26.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.2343, allocations: 0.9119 MB / 0.504 GB, free: 25.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008056/0.2424, allocations: 4.201 MB / 0.5081 GB, free: 21.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2424, allocations: 4 kB / 0.5081 GB, free: 21.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002054/0.2444, allocations: 1.75 MB / 0.5098 GB, free: 20.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2445, allocations: 20.52 kB / 0.5099 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2445, allocations: 19.66 kB / 0.5099 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/0.2447, allocations: 191.9 kB / 0.5101 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2461, allocations: 0.5629 MB / 0.5106 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.248, allocations: 4.25 MB / 0.5148 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.2484, allocations: 60.16 kB / 0.5148 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2485, allocations: 188 kB / 0.515 GB, free: 14.84 MB / 410.7 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: 74 * 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 (139): * Single equations (assignments): 136 * 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.0006767/0.2492, allocations: 0.6151 MB / 0.5156 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.2493, allocations: 131.2 kB / 0.5157 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.2515, allocations: 1.859 MB / 0.5175 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2516, allocations: 8 kB / 0.5175 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2516, allocations: 2.719 kB / 0.5176 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2516, allocations: 3.047 kB / 0.5176 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.2539, allocations: 2.212 MB / 0.5197 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2539, allocations: 0 / 0.5197 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.2548, allocations: 326.3 kB / 0.52 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.2551, allocations: 177.5 kB / 0.5202 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.2551, allocations: 15.98 kB / 0.5202 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.2567, allocations: 4.359 MB / 0.5245 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2567, allocations: 0 / 0.5245 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.2584, allocations: 1.424 MB / 0.5259 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.2585, allocations: 95.19 kB / 0.5259 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.2586, allocations: 15.95 kB / 0.526 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.2589, allocations: 43.97 kB / 0.526 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.2589, allocations: 51.05 kB / 0.5261 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.259, allocations: 23.98 kB / 0.5261 GB, free: 3.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005304/0.2595, allocations: 0.8219 MB / 0.5269 GB, free: 2.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2595, allocations: 0 / 0.5269 GB, free: 2.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001018/0.2605, allocations: 451.7 kB / 0.5273 GB, free: 2.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (61): * Single equations (assignments): 58 * 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,4,100.0%), (1,1,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.0004653/0.261, allocations: 376.2 kB / 0.5277 GB, free: 2.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.2624, allocations: 1.363 MB / 0.529 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2624, allocations: 0 / 0.529 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.2632, allocations: 0.7108 MB / 0.5297 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.2639, allocations: 301.3 kB / 0.53 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.2677, allocations: 3.694 MB / 0.5336 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.2685, allocations: 1.014 MB / 0.5346 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.2689, allocations: 230.9 kB / 0.5348 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2689, allocations: 0 / 0.5348 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Templates: time 0.03629/0.3052, allocations: 57.37 MB / 0.5908 GB, free: 1.66 MB / 474.7 MB " [Timeout remaining time 660] 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: 6.968916889280081] Failed to read output from testmodel.py, exit status != 0: 0.30990463495254517 0.317932895 0.12132586000000001 Calling exit ...