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.001508/0.001508, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001787/0.001787, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.452/1.452, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.1313/0.1313, allocations: 17.36 MB / 276.5 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 411.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.354e-05, allocations: 2.281 kB / 411.9 MB, free: 4.465 MB / 334.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.0401/0.04012, allocations: 28.8 MB / 440.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2097/0.2498, allocations: 8.159 MB / 448.9 MB, free: 31.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.2513, allocations: 23.06 kB / 448.9 MB, free: 31.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.2545, allocations: 0.99 MB / 449.9 MB, free: 31.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.2568, allocations: 0.8385 MB / 450.7 MB, free: 31.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.2593, allocations: 0.9683 MB / 451.7 MB, free: 31.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.2624, allocations: 2.072 MB / 453.8 MB, free: 30.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.2631, allocations: 421.5 kB / 454.2 MB, free: 30.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.265, allocations: 1.218 MB / 455.4 MB, free: 30.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.2661, allocations: 0.6983 MB / 456.1 MB, free: 30.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.2664, allocations: 220.1 kB / 456.3 MB, free: 30.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.2698, allocations: 1.168 MB / 457.5 MB, free: 29.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.2702, allocations: 0.6638 MB / 458.2 MB, free: 29.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.2711, allocations: 0.7282 MB / 458.9 MB, free: 29.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.2781, allocations: 4.071 MB / 463 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.2781, allocations: 3.781 kB / 463 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2781, allocations: 0 / 463 MB, free: 27.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.2782, allocations: 0 / 463 MB, free: 27.7 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.005658/0.2838, allocations: 2.548 MB / 465.5 MB, free: 26.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2839, allocations: 13.22 kB / 465.5 MB, free: 26.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.2859, allocations: 0.5268 MB / 466.1 MB, free: 25.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.2878, allocations: 1.074 MB / 467.1 MB, free: 25.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.2881, allocations: 366.5 kB / 467.5 MB, free: 25.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.2884, allocations: 202.3 kB / 467.7 MB, free: 25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007611/0.296, allocations: 8.324 MB / 476 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.296, allocations: 192 / 476 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.2962, allocations: 86.78 kB / 476.1 MB, free: 20.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.2965, allocations: 347.8 kB / 476.4 MB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.3071, allocations: 14.41 MB / 490.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.3393, allocations: 18.71 MB / 0.4976 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/0.3475, allocations: 3.446 MB / 0.501 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005868/0.3533, allocations: 2.794 MB / 0.5037 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/0.3555, allocations: 0.5727 MB / 0.5043 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.3555, allocations: 47.55 kB / 0.5043 GB, free: 13.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=94): time 4.518e-06/0.3555, allocations: 0 / 0.5043 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=122): time 0.04356/0.3991, allocations: 16.63 MB / 0.5206 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01001/0.4091, allocations: 6.436 MB / 0.5268 GB, free: 6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.4107, allocations: 1.013 MB / 0.5278 GB, free: 4.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004034/0.4111, allocations: 45.7 kB / 0.5279 GB, free: 4.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008757/0.412, allocations: 1.015 MB / 0.5289 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000604/0.4126, allocations: 429.8 kB / 0.5293 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/0.4136, allocations: 405.5 kB / 0.5297 GB, free: 3.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4138, allocations: 352.5 kB / 0.53 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/0.4187, allocations: 3.432 MB / 0.5333 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/0.4239, allocations: 3.617 MB / 0.5369 GB, free: 11.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/0.4539, allocations: 10.27 MB / 0.5469 GB, free: 1.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.454, allocations: 2.625 kB / 0.5469 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01382/0.4678, allocations: 7.422 MB / 0.5542 GB, free: 10.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4678, allocations: 8 kB / 0.5542 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.4678, allocations: 4 kB / 0.5542 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.4692, allocations: 0.8134 MB / 0.555 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/0.4748, allocations: 0.8087 MB / 0.5558 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.4918, allocations: 13.34 MB / 0.5688 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.4936, allocations: 67.94 kB / 0.5688 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/0.4943, allocations: 298.5 kB / 0.5691 GB, free: 10.29 MB / 462.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: 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.001902/0.4962, allocations: 0.5959 MB / 0.5697 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/0.4969, allocations: 123.2 kB / 0.5698 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.5073, allocations: 3.629 MB / 0.5734 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.5073, allocations: 12 kB / 0.5734 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.5073, allocations: 15.88 kB / 0.5734 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.5073, allocations: 10.62 kB / 0.5734 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.5223, allocations: 6.169 MB / 0.5794 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/0.5223, allocations: 5.594 kB / 0.5794 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003166/0.5255, allocations: 333 kB / 0.5798 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.5276, allocations: 358.8 kB / 0.5801 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.5278, allocations: 35.97 kB / 0.5801 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.5388, allocations: 8.15 MB / 0.5881 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006107/0.5449, allocations: 3.645 MB / 0.5917 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007945/0.5528, allocations: 2.575 MB / 0.5942 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.5534, allocations: 143.3 kB / 0.5943 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/0.5538, allocations: 27.95 kB / 0.5943 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.5551, allocations: 63.89 kB / 0.5944 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/0.5555, allocations: 123.3 kB / 0.5945 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.5556, allocations: 39.97 kB / 0.5945 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00336/0.5589, allocations: 2.309 MB / 0.5968 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5589, allocations: 2.625 kB / 0.5968 GB, free: 13.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002815/0.5617, allocations: 0.7379 MB / 0.5975 GB, free: 12.33 MB / 494.1 MB 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.001131/0.5629, allocations: 397.5 kB / 0.5979 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007627/0.5705, allocations: 4.324 MB / 0.6021 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.5705, allocations: 4 kB / 0.6021 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003076/0.5736, allocations: 1.34 MB / 0.6034 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.5759, allocations: 323.4 kB / 0.6038 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.5845, allocations: 4.147 MB / 0.6078 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.5861, allocations: 1.063 MB / 0.6088 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001437/0.5876, allocations: 395.4 kB / 0.6092 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.5886, allocations: 207 kB / 0.6094 GB, free: 52 kB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5886, allocations: 0 / 0.6094 GB, free: 52 kB / 494.1 MB Notification: Performance of Templates: time 0.2583/0.8469, allocations: 56.9 MB / 0.665 GB, free: 152.2 MB / 0.4981 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 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.170854032039642] Failed to read output from testmodel.py, exit status != 0: 0.8556372411549091 0.864109862 0.583713438 Calling exit ...