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.0007337/0.0007337, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009592/0.001693, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006835/0.0006835, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009068/0.00159, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9756/0.9756, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.09731/0.09731, allocations: 17.37 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01252/0.1098, allocations: 6.929 MB / 268.4 MB, free: 6.398 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.485e-06/2.485e-06, allocations: 0 / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.498e-05, allocations: 10.19 kB / 269.7 MB, free: 5.105 MB / 266.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.1712/0.1712, allocations: 8.714 MB / 278.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1851, allocations: 9.202 MB / 287.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005003/0.1901, allocations: 25.56 kB / 287.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.1937, allocations: 1.019 MB / 288.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.1967, allocations: 0.8391 MB / 289.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.2004, allocations: 0.9691 MB / 290.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.2031, allocations: 2.076 MB / 292.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000661/0.2038, allocations: 456.3 kB / 293 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.2052, allocations: 1.33 MB / 294.4 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.2061, allocations: 0.706 MB / 295.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.2063, allocations: 218.4 kB / 295.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.2084, allocations: 1.196 MB / 296.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.2088, allocations: 0.5572 MB / 297 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.2093, allocations: 0.6093 MB / 297.6 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.2118, allocations: 2.846 MB / 300.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.2118, allocations: 11.98 kB / 300.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2118, allocations: 0 / 300.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.79e-05/0.2118, allocations: 0 / 300.5 MB, free: 3.703 MB / 282.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.002637/0.2145, allocations: 2.945 MB / 303.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.2145, allocations: 8.031 kB / 303.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.2157, allocations: 1.01 MB / 304.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.2165, allocations: 0.7185 MB / 305.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.2167, allocations: 367.2 kB / 305.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.2169, allocations: 200.3 kB / 305.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.2188, allocations: 2.298 MB / 308 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.2188, allocations: 192 / 308 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.2189, allocations: 80.11 kB / 308.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/0.2191, allocations: 332.7 kB / 308.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.2215, allocations: 2.853 MB / 311.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009629/0.2311, allocations: 8.643 MB / 319.9 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.2323, allocations: 0.5148 MB / 320.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.2328, allocations: 215.7 kB / 320.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/0.2335, allocations: 0.5791 MB / 321.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2335, allocations: 39.56 kB / 321.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.214e-06/0.2336, allocations: 0 / 321.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.0173/0.2509, allocations: 6.068 MB / 327.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003182/0.254, allocations: 3.68 MB / 331 MB, free: 4.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.2545, allocations: 0.6871 MB / 331.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.2546, allocations: 45.7 kB / 331.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.2549, allocations: 0.8611 MB / 332.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.2552, allocations: 440.2 kB / 333 MB, free: 2.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/0.2557, allocations: 294.7 kB / 333.3 MB, free: 2.258 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.2558, allocations: 353.8 kB / 333.7 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.2565, allocations: 273.3 kB / 333.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.2573, allocations: 466.1 kB / 334.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.2595, allocations: 1.133 MB / 335.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2595, allocations: 0 / 335.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002738/0.2622, allocations: 1.219 MB / 336.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2623, allocations: 11.94 kB / 336.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2623, allocations: 4 kB / 336.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/0.2631, allocations: 0.6362 MB / 337.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.2663, allocations: 0.9011 MB / 338.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/0.2712, allocations: 7.336 MB / 345.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.2718, allocations: 39.98 kB / 345.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.2721, allocations: 275.9 kB / 346 MB, free: 4.938 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.0006142/0.2727, allocations: 172.4 kB / 346.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.273, allocations: 111.9 kB / 346.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.2768, allocations: 2.578 MB / 348.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2768, allocations: 15.98 kB / 348.8 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2768, allocations: 7.938 kB / 348.8 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2768, allocations: 3.984 kB / 348.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.2811, allocations: 3.175 MB / 352 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2811, allocations: 8 kB / 352 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.2824, allocations: 417.4 kB / 352.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.2825, allocations: 123.2 kB / 352.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.2838, allocations: 436.5 kB / 353 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.2838, allocations: 31.97 kB / 353 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.288, allocations: 6.849 MB / 359.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002465/0.2905, allocations: 3.127 MB / 363 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.2924, allocations: 1.347 MB / 364.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.2925, allocations: 39.86 kB / 364.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.2929, allocations: 31.98 kB / 364.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.293, allocations: 116.7 kB / 364.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.2931, allocations: 31.97 kB / 364.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005965/0.2937, allocations: 0.7491 MB / 365.3 MB, free: 492 kB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2937, allocations: 0 / 365.3 MB, free: 492 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001504/0.2952, allocations: 0.7341 MB / 366 MB, free: 15.74 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.0005326/0.2957, allocations: 415.8 kB / 366.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.2973, allocations: 1.295 MB / 367.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/0.2973, allocations: 12 kB / 367.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.2982, allocations: 1.06 MB / 368.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.3001, allocations: 2.567 MB / 371.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009541/0.3096, allocations: 4.131 MB / 375.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.31, allocations: 478.5 kB / 376 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006543/0.3107, allocations: 353.8 kB / 376.3 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/0.3116, allocations: 397 kB / 376.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3116, allocations: 0 / 376.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of Templates: time 0.1801/0.4917, allocations: 67.5 MB / 444.2 MB, free: 119.2 MB / 410.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: 4.078161071054637]