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.0006895/0.0006895, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001757, 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.0006894/0.0006894, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.00163, 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.9224/0.9224, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08554/1.008, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.09298/0.09298, allocations: 17.37 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01382/0.1068, allocations: 6.932 MB / 268.4 MB, free: 6.402 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 1.282e-06/1.282e-06, allocations: 0 / 269.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.106e-05, allocations: 2.312 kB / 269.8 MB, free: 5.098 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.01307/0.01309, allocations: 4.713 MB / 274.5 MB, free: 360 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1443/0.1574, allocations: 10.16 MB / 284.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.1581, allocations: 9.75 kB / 284.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.1588, allocations: 219.2 kB / 284.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.1608, allocations: 0.5862 MB / 285.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.1658, allocations: 1.499 MB / 286.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1675, allocations: 0.974 MB / 287.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008435/0.1684, allocations: 453.5 kB / 288.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.1695, allocations: 0.6626 MB / 289 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006931/0.1701, allocations: 385.6 kB / 289.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.1703, allocations: 85.66 kB / 289.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.1733, allocations: 1.035 MB / 290.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.1735, allocations: 143.5 kB / 290.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.1738, allocations: 250.2 kB / 290.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.1765, allocations: 1.692 MB / 292.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.1765, allocations: 0 / 292.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1765, allocations: 0 / 292.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.1765, allocations: 0 / 292.6 MB, free: 10.25 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.001961/0.1785, allocations: 1.412 MB / 294 MB, free: 9.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1785, allocations: 8.875 kB / 294 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.1792, allocations: 431 kB / 294.4 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1797, allocations: 358.5 kB / 294.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.1798, allocations: 52.81 kB / 294.8 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.1799, allocations: 66.08 kB / 294.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.1805, allocations: 0.5857 MB / 295.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1805, allocations: 192 / 295.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.1806, allocations: 29.94 kB / 295.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1806, allocations: 24.88 kB / 295.5 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.1811, allocations: 484.8 kB / 296 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1833, allocations: 1.64 MB / 297.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.184, allocations: 0.6493 MB / 298.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1841, allocations: 134.8 kB / 298.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.1857, allocations: 1.226 MB / 299.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1858, allocations: 43.05 kB / 299.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.1858, allocations: 0 / 299.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.006428/0.1922, allocations: 2.769 MB / 302.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1922, allocations: 60 kB / 302.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.1926, allocations: 472.7 kB / 303 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.1926, allocations: 33.7 kB / 303 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1927, allocations: 329.2 kB / 303.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1928, allocations: 233.9 kB / 303.6 MB, free: 492 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.193, allocations: 154.5 kB / 303.7 MB, free: 332 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1931, allocations: 370.6 kB / 304.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1932, allocations: 112.7 kB / 304.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1934, allocations: 264.1 kB / 304.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1938, allocations: 477.4 kB / 304.9 MB, free: 15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1938, allocations: 0 / 304.9 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001165/0.195, allocations: 0.6356 MB / 305.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.195, allocations: 12.03 kB / 305.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.195, allocations: 4 kB / 305.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.1962, allocations: 344.9 kB / 305.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.1966, allocations: 231.7 kB / 306.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.1989, allocations: 3.139 MB / 309.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1993, allocations: 24 kB / 309.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.1993, allocations: 32.08 kB / 309.3 MB, free: 10.37 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 (93): * Single equations (assignments): 90 * 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.0001626/0.1995, allocations: 156.4 kB / 309.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.1996, allocations: 55.89 kB / 309.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.2008, allocations: 0.6565 MB / 310.2 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2008, allocations: 5.625 kB / 310.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2008, allocations: 7.938 kB / 310.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2008, allocations: 3.984 kB / 310.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.2026, allocations: 1.14 MB / 311.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2026, allocations: 0 / 311.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.203, allocations: 163.8 kB / 311.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2031, allocations: 67.64 kB / 311.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.2042, allocations: 349.2 kB / 311.9 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.2043, allocations: 15.98 kB / 311.9 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.2063, allocations: 3.092 MB / 315 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2063, allocations: 4 kB / 315 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2075, allocations: 0.8985 MB / 315.9 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.2076, allocations: 19.94 kB / 315.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2078, allocations: 15.94 kB / 316 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2079, allocations: 60.48 kB / 316 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.2079, allocations: 19.98 kB / 316 MB, free: 3.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.2081, allocations: 204.6 kB / 316.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2081, allocations: 0 / 316.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001203/0.2093, allocations: 442.9 kB / 316.7 MB, free: 2.664 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 (69): * Single equations (assignments): 66 * 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.0008/0.2101, allocations: 0.5448 MB / 317.2 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007177/0.2108, allocations: 0.6547 MB / 317.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-05/0.2109, allocations: 12.56 kB / 317.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.2113, allocations: 0.5342 MB / 318.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.212, allocations: 0.9856 MB / 319.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.218, allocations: 1.334 MB / 320.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.2181, allocations: 151.1 kB / 320.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.2184, allocations: 126.4 kB / 321 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.2187, allocations: 217.2 kB / 321.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.532e-06/0.2187, allocations: 0 / 321.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Templates: time 0.02244/0.2412, allocations: 21.25 MB / 342.5 MB, free: 8.809 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.2952197836712003]