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.001325/0.001325, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009955/0.0009955, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 1.109/1.109, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1053/0.1053, allocations: 17.38 MB / 278.4 MB, free: 11.5 MB / 266.7 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.573e-06/1.573e-06, allocations: 0 / 354.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.859e-05, allocations: 2.312 kB / 354.6 MB, free: 9.715 MB / 282.7 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.03217/0.0322, allocations: 32.26 MB / 386.9 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.04193, allocations: 8.886 MB / 395.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.04322, allocations: 19.94 kB / 395.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.04565, allocations: 0.9862 MB / 396.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.04774, allocations: 0.8491 MB / 397.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.05012, allocations: 0.968 MB / 398.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.0531, allocations: 2.073 MB / 400.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006196/0.05372, allocations: 435.4 kB / 401.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.05539, allocations: 1.22 MB / 402.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009501/0.05634, allocations: 0.6973 MB / 403 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.05667, allocations: 220 kB / 403.2 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.05941, allocations: 1.158 MB / 404.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.05988, allocations: 0.6658 MB / 405.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.06064, allocations: 0.7325 MB / 405.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.06521, allocations: 3.111 MB / 408.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.06522, allocations: 0 / 408.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.06522, allocations: 0 / 408.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.912e-05/0.0653, allocations: 4 kB / 408.9 MB, free: 3.445 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.00396/0.06926, allocations: 2.816 MB / 411.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.06929, allocations: 8.031 kB / 411.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1579/0.2272, allocations: 1.021 MB / 412.8 MB, free: 48.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.2287, allocations: 0.9593 MB / 413.7 MB, free: 48.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.229, allocations: 361.4 kB / 414.1 MB, free: 47.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.2293, allocations: 201 kB / 414.3 MB, free: 47.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.2323, allocations: 2.137 MB / 416.4 MB, free: 47.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.2324, allocations: 192 / 416.4 MB, free: 47.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/0.2325, allocations: 77.78 kB / 416.5 MB, free: 47.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/0.2328, allocations: 347 kB / 416.8 MB, free: 47.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/0.2363, allocations: 2.982 MB / 419.8 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.2485, allocations: 10.41 MB / 430.2 MB, free: 44.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.2497, allocations: 0.5587 MB / 430.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/0.2503, allocations: 274.8 kB / 431 MB, free: 43.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/0.2511, allocations: 0.5623 MB / 431.6 MB, free: 43.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2511, allocations: 46.39 kB / 431.7 MB, free: 42.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 5.35e-06/0.2511, allocations: 3.094 kB / 431.7 MB, free: 42.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01492/0.266, allocations: 4.823 MB / 436.5 MB, free: 38.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004376/0.2704, allocations: 5.029 MB / 441.5 MB, free: 33.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.2713, allocations: 0.8949 MB / 442.4 MB, free: 32.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.2716, allocations: 45.7 kB / 442.4 MB, free: 32.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.2721, allocations: 1.117 MB / 443.6 MB, free: 31.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004261/0.2725, allocations: 429.1 kB / 444 MB, free: 31.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.2733, allocations: 401.8 kB / 444.4 MB, free: 31.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.2734, allocations: 0.5146 MB / 444.9 MB, free: 30.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.2743, allocations: 337 kB / 445.2 MB, free: 30.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.2754, allocations: 0.5608 MB / 445.8 MB, free: 29.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.2781, allocations: 1.228 MB / 447 MB, free: 28.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2781, allocations: 4 kB / 447 MB, free: 28.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004587/0.2827, allocations: 1.655 MB / 448.7 MB, free: 26.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2827, allocations: 11.98 kB / 448.7 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2827, allocations: 6.688 kB / 448.7 MB, free: 26.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.2838, allocations: 0.6454 MB / 449.3 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.2871, allocations: 0.7916 MB / 450.1 MB, free: 25.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006281/0.2933, allocations: 10.49 MB / 460.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.2945, allocations: 46.67 kB / 460.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.2949, allocations: 283.9 kB / 460.9 MB, free: 14.07 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: 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.001147/0.2961, allocations: 228.9 kB / 461.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/0.2968, allocations: 164.3 kB / 461.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/0.3025, allocations: 2.885 MB / 464.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3025, allocations: 14.62 kB / 464.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3025, allocations: 0 / 464.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.3025, allocations: 15.16 kB / 464.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.3098, allocations: 4.245 MB / 468.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.3098, allocations: 4 kB / 468.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.3115, allocations: 326.1 kB / 468.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.3134, allocations: 391.8 kB / 469.2 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.3135, allocations: 38.59 kB / 469.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00573/0.3192, allocations: 9.665 MB / 478.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004153/0.3233, allocations: 4.302 MB / 483.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.3278, allocations: 1.542 MB / 484.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.3283, allocations: 130 kB / 484.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.3287, allocations: 39.88 kB / 484.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.3295, allocations: 35.98 kB / 484.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.3298, allocations: 112.6 kB / 485 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.3299, allocations: 31.98 kB / 485.1 MB, free: 5.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001669/0.3316, allocations: 1.043 MB / 486.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3316, allocations: 0 / 486.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003395/0.335, allocations: 0.7327 MB / 486.8 MB, free: 3.82 MB / 346.7 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.0009914/0.3359, allocations: 430.9 kB / 487.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.34, allocations: 1.656 MB / 488.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/0.34, allocations: 0 / 488.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.3421, allocations: 1.298 MB / 490.2 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.3445, allocations: 411.6 kB / 490.6 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.3543, allocations: 3.946 MB / 494.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/0.3551, allocations: 485.3 kB / 495 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002269/0.3574, allocations: 353.5 kB / 495.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/0.3593, allocations: 473.9 kB / 495.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.033e-06/0.3593, allocations: 0 / 495.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.08608/0.4454, allocations: 67.14 MB / 0.5498 GB, free: 8.996 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.139660003595054]