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.00121/0.00121, allocations: 92.22 kB / 19.65 MB, free: 276 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.001417/0.001417, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.106/1.106, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09138/0.09138, allocations: 17.38 MB / 277.3 MB, free: 11.64 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 2.484e-06/2.484e-06, allocations: 4 kB / 353.4 MB, free: 10 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.078e-05, allocations: 6.25 kB / 353.4 MB, free: 9.992 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.0289/0.02893, allocations: 32.41 MB / 385.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009285/0.03821, allocations: 9.023 MB / 394.9 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007694/0.03898, allocations: 27.88 kB / 394.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.04119, allocations: 0.9863 MB / 395.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.0426, allocations: 0.8452 MB / 396.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.04448, allocations: 0.9718 MB / 397.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.04609, allocations: 2.062 MB / 399.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.04655, allocations: 439.4 kB / 400.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.04743, allocations: 1.22 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/0.04807, allocations: 0.7012 MB / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.04825, allocations: 220 kB / 402.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.05019, allocations: 1.162 MB / 403.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.05054, allocations: 0.658 MB / 404.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.05103, allocations: 0.7286 MB / 404.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.05359, allocations: 3.115 MB / 408 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.0536, allocations: 4 kB / 408 MB, free: 3.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0536, allocations: 0 / 408 MB, free: 3.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.05362, allocations: 0 / 408 MB, free: 3.434 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.002924/0.05654, allocations: 2.805 MB / 410.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.05658, allocations: 8.031 kB / 410.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1789/0.2355, allocations: 1.019 MB / 411.8 MB, free: 48.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.2369, allocations: 0.9906 MB / 412.8 MB, free: 47.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.2372, allocations: 368.2 kB / 413.2 MB, free: 47.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.2374, allocations: 197.6 kB / 413.4 MB, free: 47.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.2413, allocations: 2.63 MB / 416 MB, free: 47.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.2413, allocations: 192 / 416 MB, free: 47.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.2414, allocations: 79.48 kB / 416.1 MB, free: 47.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003354/0.2418, allocations: 347.4 kB / 416.4 MB, free: 47.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.2465, allocations: 3.78 MB / 420.2 MB, free: 47.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.2581, allocations: 11.02 MB / 431.2 MB, free: 42.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.2595, allocations: 0.5951 MB / 431.8 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.2603, allocations: 309 kB / 432.1 MB, free: 41.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007345/0.261, allocations: 0.5743 MB / 432.7 MB, free: 41.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.261, allocations: 50.7 kB / 432.7 MB, free: 41.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 3.356e-06/0.261, allocations: 4 kB / 432.7 MB, free: 41.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01417/0.2752, allocations: 5.376 MB / 438.1 MB, free: 36.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003765/0.279, allocations: 5.16 MB / 443.3 MB, free: 30.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.2798, allocations: 0.9159 MB / 444.2 MB, free: 29.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.2799, allocations: 48.39 kB / 444.2 MB, free: 29.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.2804, allocations: 1.105 MB / 445.3 MB, free: 28.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.2807, allocations: 430.4 kB / 445.7 MB, free: 28.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/0.2813, allocations: 388.4 kB / 446.1 MB, free: 27.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.2814, allocations: 0.5121 MB / 446.6 MB, free: 27.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.2824, allocations: 361.1 kB / 447 MB, free: 27.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2834, allocations: 0.581 MB / 447.6 MB, free: 26.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.2859, allocations: 1.304 MB / 448.9 MB, free: 25.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2859, allocations: 0 / 448.9 MB, free: 25.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003982/0.2899, allocations: 1.724 MB / 450.6 MB, free: 23.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.29, allocations: 8 kB / 450.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.29, allocations: 4 kB / 450.6 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.291, allocations: 0.6523 MB / 451.3 MB, free: 22.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.2934, allocations: 0.7994 MB / 452.1 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.299, allocations: 10.77 MB / 462.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.2997, allocations: 58.64 kB / 462.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.2999, allocations: 294.8 kB / 463.2 MB, free: 10.27 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.0008624/0.3008, allocations: 227.5 kB / 463.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.3011, allocations: 162.6 kB / 463.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.3051, allocations: 2.918 MB / 466.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.3051, allocations: 15.98 kB / 466.5 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3051, allocations: 3.938 kB / 466.5 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3051, allocations: 3.984 kB / 466.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.3106, allocations: 4.818 MB / 471.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3106, allocations: 6.656 kB / 471.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.3119, allocations: 323 kB / 471.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3133, allocations: 402.9 kB / 472 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.3133, allocations: 35.97 kB / 472.1 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.3195, allocations: 9.834 MB / 481.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003239/0.3228, allocations: 4.385 MB / 486.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.3257, allocations: 1.664 MB / 487.9 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3259, allocations: 143.2 kB / 488.1 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3261, allocations: 31.94 kB / 488.1 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.3265, allocations: 50.52 kB / 488.2 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.3267, allocations: 112.6 kB / 488.3 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.3268, allocations: 39.97 kB / 488.3 MB, free: 88 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.328, allocations: 1.25 MB / 489.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.328, allocations: 0 / 489.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001942/0.33, allocations: 0.7301 MB / 490.3 MB, free: 14.1 MB / 362.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.000635/0.3306, allocations: 402.1 kB / 490.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.333, allocations: 1.734 MB / 492.4 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.333, allocations: 4 kB / 492.4 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3343, allocations: 1.356 MB / 493.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3354, allocations: 416.4 kB / 494.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.3405, allocations: 3.975 MB / 498.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3409, allocations: 478.4 kB / 498.6 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007396/0.3417, allocations: 359.1 kB / 499 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.3422, allocations: 195.1 kB / 499.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3422, allocations: 0 / 499.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of Templates: time 0.06827/0.4105, allocations: 65.32 MB / 0.5513 GB, free: 5.176 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.112846130039543]