Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.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.0008554/0.0008554, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002006, allocations: 435.8 kB / 10.33 MB, free: 364 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.0008743/0.0008743, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003824/0.004698, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9808/0.9808, allocations: 177.1 MB / 189.6 MB, free: 5.336 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08309/1.064, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.1072/0.1072, allocations: 17.37 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01476/0.1219, allocations: 6.937 MB / 268.3 MB, free: 6.535 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.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 3.984 kB / 269.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.315e-05, allocations: 2.312 kB / 269.5 MB, free: 5.254 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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/Obsolete.mo:12638:6-12638:65: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.Obsolete.Examples.AcidBase.AcidBaseBufferTest): time 0.01464/0.01466, allocations: 4.697 MB / 274.2 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1634/0.1781, allocations: 10.16 MB / 284.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.1785, allocations: 9.406 kB / 284.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1791, allocations: 218.7 kB / 284.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1804, allocations: 0.5835 MB / 285.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.1839, allocations: 1.503 MB / 286.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.1851, allocations: 0.9788 MB / 287.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.1857, allocations: 453.5 kB / 288.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008183/0.1865, allocations: 0.6543 MB / 288.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.187, allocations: 386.1 kB / 289.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1872, allocations: 85.44 kB / 289.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.1898, allocations: 1.038 MB / 290.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1899, allocations: 138.6 kB / 290.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.1902, allocations: 249.6 kB / 290.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.1934, allocations: 1.695 MB / 292.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.048e-05/0.1934, allocations: 0 / 292.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1934, allocations: 4 kB / 292.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.743e-05/0.1935, allocations: 3.938 kB / 292.4 MB, free: 10.39 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001894/0.1954, allocations: 1.409 MB / 293.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1954, allocations: 8.75 kB / 293.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.1961, allocations: 428.2 kB / 294.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1966, allocations: 356.6 kB / 294.6 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.1966, allocations: 58.44 kB / 294.6 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.1967, allocations: 65.5 kB / 294.7 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.1973, allocations: 0.5842 MB / 295.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1973, allocations: 192 / 295.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.1974, allocations: 30.5 kB / 295.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1974, allocations: 20.16 kB / 295.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.198, allocations: 490.1 kB / 295.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.2002, allocations: 1.636 MB / 297.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.2009, allocations: 0.6452 MB / 298.1 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.201, allocations: 134.8 kB / 298.2 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.2026, allocations: 1.234 MB / 299.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2026, allocations: 43 kB / 299.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 1.553e-06/0.2026, allocations: 4 kB / 299.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=68): time 0.006096/0.2087, allocations: 2.461 MB / 301.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2088, allocations: 60.06 kB / 302 MB, free: 2.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.2092, allocations: 468.7 kB / 302.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2092, allocations: 45.69 kB / 302.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2094, allocations: 317.3 kB / 302.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.2096, allocations: 249.8 kB / 303.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.2098, allocations: 158.5 kB / 303.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2099, allocations: 374.6 kB / 303.6 MB, free: 472 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2101, allocations: 104.8 kB / 303.7 MB, free: 368 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.2103, allocations: 272 kB / 303.9 MB, free: 40 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.2108, allocations: 457.4 kB / 304.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.2109, allocations: 4 kB / 304.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001554/0.2124, allocations: 0.6472 MB / 305 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.2124, allocations: 9.719 kB / 305.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2124, allocations: 4 kB / 305.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.2139, allocations: 337.1 kB / 305.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.2145, allocations: 231.7 kB / 305.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.2173, allocations: 3.135 MB / 308.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.2177, allocations: 24.09 kB / 308.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.2178, allocations: 31.98 kB / 308.8 MB, free: 10.89 MB / 298.7 MB 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 (94): * Single equations (assignments): 91 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.2179, allocations: 148.5 kB / 308.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.218, allocations: 59.89 kB / 309 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.2196, allocations: 0.6721 MB / 309.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2197, allocations: 8 kB / 309.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2197, allocations: 0.75 kB / 309.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.2197, allocations: 3.984 kB / 309.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2219, allocations: 1.124 MB / 310.8 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2219, allocations: 4 kB / 310.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.2224, allocations: 167.8 kB / 311 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2225, allocations: 79.52 kB / 311.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.224, allocations: 347.7 kB / 311.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.224, allocations: 19.98 kB / 311.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.2265, allocations: 3.085 MB / 314.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2265, allocations: 4 kB / 314.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2281, allocations: 0.9023 MB / 315.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.2282, allocations: 20 kB / 315.4 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.2284, allocations: 16 kB / 315.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2285, allocations: 56.48 kB / 315.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.2286, allocations: 23.98 kB / 315.5 MB, free: 3.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.2288, allocations: 196.7 kB / 315.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2288, allocations: 8 kB / 315.7 MB, free: 3.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001191/0.23, allocations: 438.8 kB / 316.1 MB, free: 3.191 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (simpleSolution.temperature,simpleSolution.mass,liquidWater.logn) * 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 (70): * Single equations (assignments): 67 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008611/0.2308, allocations: 0.5523 MB / 316.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.2317, allocations: 0.6502 MB / 317.4 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.268e-05/0.2317, allocations: 16 kB / 317.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.2321, allocations: 474.9 kB / 317.8 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.2327, allocations: 237.9 kB / 318.1 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/0.241, allocations: 1.343 MB / 319.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2411, allocations: 159.3 kB / 319.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.2416, allocations: 128.2 kB / 319.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.242, allocations: 213.2 kB / 319.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.242, allocations: 3.938 kB / 319.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.02759/0.2696, allocations: 21.32 MB / 341.2 MB, free: 10.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.383924056775868]