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.001646/0.001646, allocations: 80.36 kB / 19.18 MB, free: 2.531 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.001609/0.001609, allocations: 168.7 kB / 22.46 MB, free: 5.355 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.1273/0.1273, allocations: 17.45 MB / 276.6 MB, free: 15.22 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 412.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.38e-05, allocations: 6.281 kB / 412.1 MB, free: 4.312 MB / 334.1 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.04476/0.0448, allocations: 29.17 MB / 441.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2496/0.2944, allocations: 9.147 MB / 450.4 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.2969, allocations: 58.44 kB / 450.5 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005756/0.3026, allocations: 1.044 MB / 451.5 MB, free: 31.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.3068, allocations: 1.085 MB / 452.6 MB, free: 31.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00447/0.3113, allocations: 1.165 MB / 453.7 MB, free: 30.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004806/0.3161, allocations: 2.252 MB / 456 MB, free: 30.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008364/0.317, allocations: 426.2 kB / 456.4 MB, free: 30.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.3195, allocations: 1.331 MB / 457.7 MB, free: 29.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.3213, allocations: 0.9284 MB / 458.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.3216, allocations: 208.8 kB / 458.9 MB, free: 29.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/0.3269, allocations: 1.389 MB / 460.3 MB, free: 29.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007145/0.3276, allocations: 0.6665 MB / 460.9 MB, free: 28.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.3288, allocations: 0.7378 MB / 461.7 MB, free: 28.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.337, allocations: 4.082 MB / 465.8 MB, free: 27.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.337, allocations: 0 / 465.8 MB, free: 27.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.337, allocations: 1.125 kB / 465.8 MB, free: 27.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.701e-05/0.3371, allocations: 1.219 kB / 465.8 MB, free: 27.01 MB / 366.1 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.004928/0.342, allocations: 2.589 MB / 468.3 MB, free: 25.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3421, allocations: 9.406 kB / 468.4 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.3439, allocations: 0.5148 MB / 468.9 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.3458, allocations: 1.281 MB / 470.1 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.346, allocations: 275.4 kB / 470.4 MB, free: 23.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.3463, allocations: 198.5 kB / 470.6 MB, free: 23.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/0.3534, allocations: 7.417 MB / 478 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.3534, allocations: 5.047 kB / 478 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.3536, allocations: 82.75 kB / 478.1 MB, free: 19.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/0.3539, allocations: 333.2 kB / 478.4 MB, free: 19.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009846/0.3637, allocations: 13.39 MB / 491.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01726/0.381, allocations: 10.46 MB / 0.4905 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3828, allocations: 0.7811 MB / 0.4913 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.3838, allocations: 482.4 kB / 0.4917 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007494/0.3913, allocations: 3.534 MB / 0.4952 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.3913, allocations: 41.84 kB / 0.4952 GB, free: 7.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.086e-06/0.3913, allocations: 0 / 0.4952 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=76): time 0.01258/0.4039, allocations: 3.742 MB / 0.4989 GB, free: 3.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.404, allocations: 60.06 kB / 0.4989 GB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.4056, allocations: 1.009 MB / 0.4999 GB, free: 2.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.4057, allocations: 41.7 kB / 0.5 GB, free: 2.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/0.4066, allocations: 1.16 MB / 0.5011 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.4069, allocations: 280 kB / 0.5014 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/0.4074, allocations: 318.7 kB / 0.5017 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4076, allocations: 345.9 kB / 0.502 GB, free: 196 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009858/0.4086, allocations: 452.7 kB / 0.5024 GB, free: 15.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.41, allocations: 0.9146 MB / 0.5033 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/0.4291, allocations: 4.207 MB / 0.5074 GB, free: 10.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.4291, allocations: 4 kB / 0.5074 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004636/0.4337, allocations: 1.746 MB / 0.5091 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.4338, allocations: 15.94 kB / 0.5092 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.4338, allocations: 18.89 kB / 0.5092 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.4344, allocations: 206.5 kB / 0.5094 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.4374, allocations: 0.5594 MB / 0.5099 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/0.442, allocations: 4.24 MB / 0.5141 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4433, allocations: 62.64 kB / 0.5141 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.4436, allocations: 184 kB / 0.5143 GB, free: 3.016 MB / 398.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: 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.001443/0.4451, allocations: 0.6169 MB / 0.5149 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.4454, allocations: 131.2 kB / 0.515 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.4501, allocations: 1.854 MB / 0.5168 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.4501, allocations: 8 kB / 0.5168 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4501, allocations: 0 / 0.5168 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4501, allocations: 3.984 kB / 0.5168 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.4556, allocations: 2.214 MB / 0.519 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.4556, allocations: 2.344 kB / 0.519 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/0.458, allocations: 326.3 kB / 0.5193 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/0.4585, allocations: 181.5 kB / 0.5195 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.4586, allocations: 23.98 kB / 0.5195 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.4634, allocations: 4.339 MB / 0.5238 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4634, allocations: 7.969 kB / 0.5238 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.4676, allocations: 1.419 MB / 0.5252 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.468, allocations: 99.22 kB / 0.5252 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.4683, allocations: 26.58 kB / 0.5253 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.4689, allocations: 39.97 kB / 0.5253 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.4691, allocations: 56.34 kB / 0.5254 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.4692, allocations: 22.61 kB / 0.5254 GB, free: 7.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4705, allocations: 0.8283 MB / 0.5262 GB, free: 6.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4705, allocations: 0 / 0.5262 GB, free: 6.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002132/0.4726, allocations: 447.7 kB / 0.5266 GB, free: 6.156 MB / 414.1 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.0008537/0.4735, allocations: 370.5 kB / 0.527 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.4769, allocations: 1.364 MB / 0.5283 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4769, allocations: 2.656 kB / 0.5283 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.4787, allocations: 0.7082 MB / 0.529 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.4803, allocations: 306.2 kB / 0.5293 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.4875, allocations: 3.553 MB / 0.5328 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.4888, allocations: 1.013 MB / 0.5338 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001704/0.4905, allocations: 499.2 kB / 0.5342 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.4911, allocations: 188.4 kB / 0.5344 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4911, allocations: 2.656 kB / 0.5344 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Templates: time 0.044/0.5351, allocations: 23.24 MB / 0.5571 GB, free: 7.684 MB / 446.1 MB " [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: 5.837333083152771] Failed to read output from testmodel.py, exit status != 0: 0.5465148985385895 0.560642646 0.220543661 Calling exit ...