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.0007526/0.0007526, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007708/0.0007708, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8271/0.8271, 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 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.07835/0.07835, allocations: 17.37 MB / 277.3 MB, free: 11.84 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.573e-06/1.573e-06, allocations: 0 / 412.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.237e-05, allocations: 2.281 kB / 412.7 MB, free: 13.1 MB / 330.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.01995/0.01997, allocations: 25.35 MB / 438.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007254/0.02722, allocations: 8.946 MB / 447 MB, free: 6.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.02754, allocations: 11.94 kB / 447 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.02798, allocations: 214.2 kB / 447.2 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009059/0.02889, allocations: 0.5934 MB / 447.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.03116, allocations: 1.495 MB / 449.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007929/0.03195, allocations: 0.9886 MB / 450.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.0324, allocations: 429.4 kB / 450.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.03289, allocations: 0.6039 MB / 451.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.03325, allocations: 368.6 kB / 451.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.819e-05/0.03333, allocations: 84 kB / 451.8 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.0347, allocations: 0.9996 MB / 452.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.03484, allocations: 202.1 kB / 453 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.03506, allocations: 306.1 kB / 453.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.03676, allocations: 2.168 MB / 455.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.03676, allocations: 0 / 455.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03676, allocations: 4 kB / 455.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.03677, allocations: 4 kB / 455.4 MB, free: 15.17 MB / 362.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.001145/0.03792, allocations: 1.147 MB / 456.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.03795, allocations: 12.03 kB / 456.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.03837, allocations: 208 kB / 456.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.03882, allocations: 443.3 kB / 457.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.03885, allocations: 50.38 kB / 457.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.03892, allocations: 68.38 kB / 457.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.03987, allocations: 1.107 MB / 458.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.03988, allocations: 192 / 458.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.03992, allocations: 32.31 kB / 458.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.03993, allocations: 19.94 kB / 458.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.04117, allocations: 1.542 MB / 460 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.04384, allocations: 2.573 MB / 462.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.04469, allocations: 0.8946 MB / 463.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.04499, allocations: 362.7 kB / 463.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001798/0.04679, allocations: 1.724 MB / 465.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.04681, allocations: 39.06 kB / 465.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 1.273e-06/0.04681, allocations: 0 / 465.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.006634/0.05345, allocations: 3.392 MB / 469 MB, free: 1.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.05348, allocations: 64.05 kB / 469.1 MB, free: 1.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.05393, allocations: 0.6735 MB / 469.8 MB, free: 0.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.05397, allocations: 33.7 kB / 469.8 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.05411, allocations: 364.4 kB / 470.1 MB, free: 228 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.05425, allocations: 245.9 kB / 470.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.0544, allocations: 158.5 kB / 470.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.0545, allocations: 366.7 kB / 470.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.0549, allocations: 461.8 kB / 471.3 MB, free: 15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.05537, allocations: 0.6003 MB / 471.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.05621, allocations: 1.005 MB / 473 MB, free: 13.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.05622, allocations: 0 / 473 MB, free: 13.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001901/0.05812, allocations: 1.433 MB / 474.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.05813, allocations: 4 kB / 474.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.05814, allocations: 4 kB / 474.4 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008511/0.05899, allocations: 266.3 kB / 474.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.05935, allocations: 195.7 kB / 474.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.06206, allocations: 3.696 MB / 478.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.0623, allocations: 24 kB / 478.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.06234, allocations: 39.98 kB / 478.6 MB, free: 7.379 MB / 378.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.0001859/0.06253, allocations: 197.7 kB / 478.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.0626, allocations: 55.67 kB / 478.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.06438, allocations: 1.205 MB / 480.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.06439, allocations: 4.141 kB / 480.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.06439, allocations: 7.984 kB / 480.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.0644, allocations: 3.984 kB / 480.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.06681, allocations: 1.961 MB / 482 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.06681, allocations: 0 / 482 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.06709, allocations: 139.8 kB / 482.2 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.06791, allocations: 270.2 kB / 482.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.06794, allocations: 27.92 kB / 482.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.07042, allocations: 3.631 MB / 486.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.07042, allocations: 4.031 kB / 486.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.07245, allocations: 1.674 MB / 487.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.0726, allocations: 123.5 kB / 487.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.07264, allocations: 16 kB / 487.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.07282, allocations: 15.94 kB / 487.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.07289, allocations: 64.48 kB / 488 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.07292, allocations: 27.98 kB / 488 MB, free: 13.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003186/0.07324, allocations: 499.1 kB / 488.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07324, allocations: 3.938 kB / 488.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000758/0.074, allocations: 442.9 kB / 488.9 MB, free: 12.66 MB / 394.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.0006289/0.07463, allocations: 0.5369 MB / 489.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.07574, allocations: 1.167 MB / 490.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.07575, allocations: 3.938 kB / 490.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.07626, allocations: 0.6532 MB / 491.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.07674, allocations: 158.9 kB / 491.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.07826, allocations: 1.481 MB / 492.9 MB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.07846, allocations: 318.6 kB / 493.2 MB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.07863, allocations: 112.4 kB / 493.4 MB, free: 8.109 MB / 394.7 MB Notification: Performance of SimCode: time 4.5e-07/0.07863, allocations: 0 / 493.4 MB, free: 8.109 MB / 394.7 MB Notification: Performance of Templates: time 0.0151/0.09373, allocations: 21.95 MB / 0.5032 GB, free: 2.188 MB / 410.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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.554934113286436] Failed to read output from testmodel.py, exit status != 0: 0.2275869445875287 0.10717465500000001 0.06886251900000001 Calling exit ...