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.0009257/0.0009257, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001032/0.001032, allocations: 169 kB / 23.02 MB, free: 1.551 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.9656/0.9656, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.1066/0.1066, allocations: 17.38 MB / 277.3 MB, free: 11.66 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 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.175e-05, allocations: 4.562 kB / 353.4 MB, free: 9.98 MB / 282.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.02743/0.02745, allocations: 28.31 MB / 381.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008891/0.03634, allocations: 10.21 MB / 392 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.03679, allocations: 15.88 kB / 392 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.03736, allocations: 218.2 kB / 392.2 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.03888, allocations: 0.5855 MB / 392.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.04217, allocations: 1.514 MB / 394.3 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.04326, allocations: 0.9853 MB / 395.3 MB, free: 220 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005538/0.04381, allocations: 437.8 kB / 395.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.04443, allocations: 0.6004 MB / 396.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.04491, allocations: 387 kB / 396.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.807e-05/0.04501, allocations: 92 kB / 396.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.04714, allocations: 0.9903 MB / 397.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.0473, allocations: 203.3 kB / 398 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.04755, allocations: 311.4 kB / 398.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.05053, allocations: 1.86 MB / 400.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.05053, allocations: 0 / 400.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.05054, allocations: 0 / 400.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.05057, allocations: 4 kB / 400.1 MB, free: 11.34 MB / 330.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.001776/0.05235, allocations: 1.258 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.05239, allocations: 16.03 kB / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.05304, allocations: 363.2 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.05355, allocations: 438.2 kB / 402.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.05359, allocations: 54.38 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.05368, allocations: 68.38 kB / 402.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.05443, allocations: 0.6365 MB / 402.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.05444, allocations: 192 / 402.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.05449, allocations: 32.38 kB / 403 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.0545, allocations: 23.92 kB / 403 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.05529, allocations: 0.6595 MB / 403.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.05795, allocations: 2.099 MB / 405.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.05876, allocations: 0.7039 MB / 406.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.05898, allocations: 189.6 kB / 406.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/0.06076, allocations: 1.482 MB / 408.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.06079, allocations: 41.89 kB / 408.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.024e-06/0.06079, allocations: 0 / 408.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006624/0.06741, allocations: 2.563 MB / 410.7 MB, free: 0.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.06745, allocations: 60.06 kB / 410.8 MB, free: 440 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1239/0.1913, allocations: 0.5299 MB / 411.3 MB, free: 49.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.1914, allocations: 38.27 kB / 411.4 MB, free: 49.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1916, allocations: 418.6 kB / 411.8 MB, free: 49.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1918, allocations: 238.6 kB / 412 MB, free: 49.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.192, allocations: 159.8 kB / 412.2 MB, free: 49.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1921, allocations: 0.5395 MB / 412.7 MB, free: 49.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.1925, allocations: 173.7 kB / 412.9 MB, free: 49.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.1929, allocations: 377.4 kB / 413.2 MB, free: 48.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.1936, allocations: 0.5845 MB / 413.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.1936, allocations: 1 kB / 413.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002372/0.196, allocations: 0.8716 MB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.196, allocations: 7.5 kB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1961, allocations: 8.141 kB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.1979, allocations: 356.4 kB / 415 MB, free: 48.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.1985, allocations: 193.4 kB / 415.2 MB, free: 48.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.2015, allocations: 4.566 MB / 419.8 MB, free: 44.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.2019, allocations: 26.52 kB / 419.8 MB, free: 44.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.202, allocations: 39.38 kB / 419.9 MB, free: 44.3 MB / 330.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.0001835/0.2022, allocations: 201.8 kB / 420.1 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.2023, allocations: 80.56 kB / 420.1 MB, free: 44.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2045, allocations: 0.8555 MB / 421 MB, free: 44.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.2045, allocations: 11.59 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2045, allocations: 1.062 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2045, allocations: 3.984 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.2076, allocations: 1.527 MB / 422.5 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2076, allocations: 1.375 kB / 422.5 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.2079, allocations: 137.3 kB / 422.7 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.2094, allocations: 348.3 kB / 423 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.2094, allocations: 22.59 kB / 423 MB, free: 43.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.2116, allocations: 4.514 MB / 427.6 MB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2116, allocations: 1.25 kB / 427.6 MB, free: 39.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2135, allocations: 1.127 MB / 428.7 MB, free: 38.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.2137, allocations: 118.2 kB / 428.8 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.2138, allocations: 17.62 kB / 428.8 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.214, allocations: 13.27 kB / 428.8 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2141, allocations: 62.78 kB / 428.9 MB, free: 38.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.2141, allocations: 30.73 kB / 428.9 MB, free: 38.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.2144, allocations: 359.6 kB / 429.3 MB, free: 38.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2144, allocations: 3.281 kB / 429.3 MB, free: 38.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.2153, allocations: 440.3 kB / 429.7 MB, free: 38.78 MB / 330.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.0006989/0.216, allocations: 0.5399 MB / 430.2 MB, free: 38.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009521/0.217, allocations: 0.8859 MB / 431.1 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.217, allocations: 2.688 kB / 431.1 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.2174, allocations: 0.6297 MB / 431.8 MB, free: 37.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.2179, allocations: 169.5 kB / 431.9 MB, free: 37.96 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2199, allocations: 1.329 MB / 433.3 MB, free: 37.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.2199, allocations: 150.8 kB / 433.4 MB, free: 37.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.2202, allocations: 131.5 kB / 433.5 MB, free: 37.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2204, allocations: 87 kB / 433.6 MB, free: 37.24 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2204, allocations: 2.219 kB / 433.6 MB, free: 37.24 MB / 330.7 MB Notification: Performance of Templates: time 0.01691/0.2373, allocations: 18.78 MB / 452.4 MB, free: 24.07 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.539977591019124]