Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007275/0.0007275, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008034/0.0008034, allocations: 178.2 kB / 23.21 MB, free: 1.34 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 0.8263/0.8263, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08308/0.08308, allocations: 17.44 MB / 277.4 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.867e-05, allocations: 6.219 kB / 412.9 MB, free: 15.73 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.01816/0.01818, allocations: 25.33 MB / 438.2 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1455/0.1637, allocations: 8.923 MB / 447.1 MB, free: 59.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.1641, allocations: 12.84 kB / 447.1 MB, free: 59.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1646, allocations: 222.6 kB / 447.4 MB, free: 59.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008338/0.1654, allocations: 0.5946 MB / 448 MB, free: 59.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1675, allocations: 1.501 MB / 449.5 MB, free: 59.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.168, allocations: 0.9835 MB / 450.4 MB, free: 59.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.1684, allocations: 427.2 kB / 450.9 MB, free: 59.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.1687, allocations: 0.6031 MB / 451.5 MB, free: 59.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.169, allocations: 367.5 kB / 451.8 MB, free: 59.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.1691, allocations: 88.25 kB / 451.9 MB, free: 59.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1702, allocations: 1.001 MB / 452.9 MB, free: 58.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1703, allocations: 195 kB / 453.1 MB, free: 58.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.1705, allocations: 311.6 kB / 453.4 MB, free: 58.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1719, allocations: 2.171 MB / 455.6 MB, free: 57.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1719, allocations: 0 / 455.6 MB, free: 57.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1719, allocations: 1.5 kB / 455.6 MB, free: 57.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1719, allocations: 0 / 455.6 MB, free: 57.98 MB / 410.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.001048/0.173, allocations: 1.147 MB / 456.7 MB, free: 57.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.173, allocations: 12.62 kB / 456.7 MB, free: 57.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.1734, allocations: 210.6 kB / 456.9 MB, free: 57.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1738, allocations: 432.9 kB / 457.4 MB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.1739, allocations: 48.47 kB / 457.4 MB, free: 56.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.1739, allocations: 73.3 kB / 457.5 MB, free: 56.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.1748, allocations: 1.114 MB / 458.6 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1748, allocations: 192 / 458.6 MB, free: 56.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1748, allocations: 26.41 kB / 458.6 MB, free: 56.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1748, allocations: 22.56 kB / 458.6 MB, free: 56.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.1759, allocations: 1.551 MB / 460.2 MB, free: 55.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.1783, allocations: 2.553 MB / 462.7 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.1791, allocations: 0.909 MB / 463.7 MB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.1793, allocations: 362.4 kB / 464 MB, free: 54.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.181, allocations: 1.714 MB / 465.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.282e-05/0.181, allocations: 38.19 kB / 465.8 MB, free: 53.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 1.423e-06/0.181, allocations: 3.938 kB / 465.8 MB, free: 53.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.006317/0.1873, allocations: 3.396 MB / 469.2 MB, free: 51.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1873, allocations: 58.44 kB / 469.2 MB, free: 51.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.1877, allocations: 0.67 MB / 469.9 MB, free: 51.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1877, allocations: 39.52 kB / 469.9 MB, free: 51.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.1878, allocations: 359.9 kB / 470.3 MB, free: 51.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.1879, allocations: 251.7 kB / 470.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.188, allocations: 150 kB / 470.7 MB, free: 50.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.1881, allocations: 366.2 kB / 471 MB, free: 50.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1885, allocations: 458.8 kB / 471.5 MB, free: 50.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1888, allocations: 0.615 MB / 472.1 MB, free: 50.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.1895, allocations: 0.9986 MB / 473.1 MB, free: 49.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1895, allocations: 2.969 kB / 473.1 MB, free: 49.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001758/0.1913, allocations: 1.427 MB / 474.5 MB, free: 49.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1913, allocations: 6.156 kB / 474.5 MB, free: 49.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1913, allocations: 5.5 kB / 474.5 MB, free: 49.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000864/0.1922, allocations: 271.8 kB / 474.8 MB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.1925, allocations: 194.7 kB / 475 MB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.1948, allocations: 3.683 MB / 478.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.195, allocations: 32.3 kB / 478.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.1951, allocations: 40.12 kB / 478.7 MB, free: 45.61 MB / 410.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.000176/0.1953, allocations: 205.5 kB / 478.9 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.1953, allocations: 51.64 kB / 479 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.1975, allocations: 1.212 MB / 480.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1976, allocations: 9.125 kB / 480.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1976, allocations: 0 / 480.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1976, allocations: 3.516 kB / 480.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.2001, allocations: 1.956 MB / 482.2 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2001, allocations: 4.797 kB / 482.2 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.2004, allocations: 138 kB / 482.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009207/0.2014, allocations: 261.2 kB / 482.6 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.2014, allocations: 27 kB / 482.6 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.2036, allocations: 3.627 MB / 486.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2036, allocations: 1.812 kB / 486.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.2057, allocations: 1.687 MB / 487.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2059, allocations: 121.8 kB / 488 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.2059, allocations: 13.16 kB / 488 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2061, allocations: 25.42 kB / 488.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.2062, allocations: 61.41 kB / 488.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.2063, allocations: 24.77 kB / 488.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.2066, allocations: 499.8 kB / 488.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2066, allocations: 2.719 kB / 488.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000982/0.2076, allocations: 435.9 kB / 489.1 MB, free: 39.38 MB / 410.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.0006632/0.2082, allocations: 0.5396 MB / 489.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2094, allocations: 1.17 MB / 490.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2094, allocations: 3.938 kB / 490.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.2099, allocations: 0.655 MB / 491.4 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.2104, allocations: 158.3 kB / 491.6 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.212, allocations: 1.486 MB / 493.1 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2123, allocations: 313.2 kB / 493.4 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.2124, allocations: 107.7 kB / 493.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2124, allocations: 0 / 493.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01727/0.2297, allocations: 21.96 MB / 0.5034 GB, free: 27.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.144156192429364] Failed to read output from testmodel.py, exit status != 0: 0.2345235664397478 0.23996250199999997 0.066782599 Calling exit ...