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.0007961/0.0007961, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009436/0.0009436, allocations: 165 kB / 23.02 MB, free: 1.551 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.9794/0.9794, allocations: 177.1 MB / 203.4 MB, free: 5.172 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.08935/0.08935, allocations: 17.45 MB / 277.4 MB, free: 11.42 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.323e-06/1.323e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.09e-05, allocations: 6.312 kB / 353.5 MB, free: 9.848 MB / 282.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.02778/0.0278, allocations: 32.8 MB / 386.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.03866, allocations: 10.04 MB / 396.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.03955, allocations: 55.56 kB / 396.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.04171, allocations: 1.048 MB / 397.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.04351, allocations: 1.09 MB / 398.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.04571, allocations: 1.158 MB / 399.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.0474, allocations: 2.267 MB / 402 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.04783, allocations: 427.3 kB / 402.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009762/0.04881, allocations: 1.325 MB / 403.7 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.04967, allocations: 0.9313 MB / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.04984, allocations: 208 kB / 404.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.05189, allocations: 1.392 MB / 406.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.05225, allocations: 0.6658 MB / 406.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.05279, allocations: 0.7442 MB / 407.7 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.05557, allocations: 3.177 MB / 410.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.05558, allocations: 0 / 410.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05558, allocations: 0 / 410.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.05559, allocations: 4 kB / 410.8 MB, free: 0.5156 MB / 330.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.1328/0.1884, allocations: 2.833 MB / 413.7 MB, free: 47.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1885, allocations: 10.02 kB / 413.7 MB, free: 47.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.1899, allocations: 1.008 MB / 414.7 MB, free: 47.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1913, allocations: 1.301 MB / 416 MB, free: 46.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.1914, allocations: 278.5 kB / 416.3 MB, free: 46.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.1916, allocations: 201.7 kB / 416.5 MB, free: 46.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.1951, allocations: 2.858 MB / 419.3 MB, free: 46.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.1951, allocations: 192 / 419.3 MB, free: 46.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.1952, allocations: 82.44 kB / 419.4 MB, free: 46.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.1955, allocations: 337 kB / 419.7 MB, free: 46.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.1995, allocations: 3.689 MB / 423.4 MB, free: 46.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.207, allocations: 8.693 MB / 432.1 MB, free: 41.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/0.2078, allocations: 0.5423 MB / 432.7 MB, free: 40.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.2082, allocations: 247.6 kB / 432.9 MB, free: 40.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003261/0.2115, allocations: 3.325 MB / 436.2 MB, free: 37.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2115, allocations: 44.42 kB / 436.3 MB, free: 37.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 1.633e-06/0.2115, allocations: 4 kB / 436.3 MB, free: 37.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.004879/0.2164, allocations: 2.868 MB / 439.1 MB, free: 34.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2164, allocations: 62.75 kB / 439.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.2171, allocations: 1.076 MB / 440.3 MB, free: 33.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.2171, allocations: 37.7 kB / 440.3 MB, free: 33.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.2175, allocations: 1.264 MB / 441.6 MB, free: 32.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2176, allocations: 280.6 kB / 441.8 MB, free: 31.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.2178, allocations: 320.4 kB / 442.2 MB, free: 31.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.2179, allocations: 0.5238 MB / 442.7 MB, free: 31.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.2182, allocations: 221.2 kB / 442.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.2187, allocations: 0.9192 MB / 443.8 MB, free: 29.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2199, allocations: 1.398 MB / 445.2 MB, free: 27.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2199, allocations: 4 kB / 445.2 MB, free: 27.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001772/0.2217, allocations: 1.337 MB / 446.6 MB, free: 26.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2217, allocations: 18.75 kB / 446.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2217, allocations: 16 kB / 446.6 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.222, allocations: 156.7 kB / 446.7 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2233, allocations: 0.4934 MB / 447.2 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.2251, allocations: 5.408 MB / 452.6 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.2255, allocations: 55.97 kB / 452.7 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.2256, allocations: 168 kB / 452.9 MB, free: 20.11 MB / 330.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.0003558/0.226, allocations: 251.8 kB / 453.1 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.2262, allocations: 159.2 kB / 453.3 MB, free: 19.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2281, allocations: 1.572 MB / 454.8 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2281, allocations: 8 kB / 454.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2281, allocations: 0 / 454.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2281, allocations: 3.984 kB / 454.9 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.2305, allocations: 2.289 MB / 457.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2305, allocations: 0 / 457.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.2314, allocations: 279.5 kB / 457.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.2316, allocations: 123 kB / 457.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.2317, allocations: 19.98 kB / 457.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.2334, allocations: 5.597 MB / 463.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2334, allocations: 4 kB / 463.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.2347, allocations: 1.019 MB / 464.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.2347, allocations: 95.2 kB / 464.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.2348, allocations: 22.66 kB / 464.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2351, allocations: 27.98 kB / 464.3 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.2352, allocations: 52.25 kB / 464.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.2352, allocations: 26.64 kB / 464.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2357, allocations: 0.6771 MB / 465.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2357, allocations: 0 / 465.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009912/0.2367, allocations: 443.6 kB / 465.5 MB, free: 7.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0003996/0.2371, allocations: 354.4 kB / 465.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.2387, allocations: 1.215 MB / 467.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2387, allocations: 0 / 467.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.2395, allocations: 0.7624 MB / 467.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.2404, allocations: 352.6 kB / 468.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.2449, allocations: 3.338 MB / 471.5 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2451, allocations: 441.2 kB / 471.9 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009785/0.2461, allocations: 451.8 kB / 472.4 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.2464, allocations: 167.6 kB / 472.5 MB, free: 324 kB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2464, allocations: 3.844 kB / 472.5 MB, free: 324 kB / 330.7 MB Notification: Performance of Templates: time 0.03443/0.2809, allocations: 22.25 MB / 494.8 MB, free: 11.23 MB / 362.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=240 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8766273031942546]