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.0009876/0.0009876, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001859/0.001859, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9597/0.9597, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1132/0.1132, allocations: 17.38 MB / 278.4 MB, free: 11.48 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.133e-06/1.133e-06, allocations: 0 / 354.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.317e-05, allocations: 2.312 kB / 354.7 MB, free: 10.73 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.03184/0.03186, allocations: 28.28 MB / 383 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.04266, allocations: 9.935 MB / 392.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.04323, allocations: 15.81 kB / 392.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.0439, allocations: 218.2 kB / 393.1 MB, free: 4.328 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.04524, allocations: 0.5816 MB / 393.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.04847, allocations: 1.518 MB / 395.2 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.04958, allocations: 0.9814 MB / 396.2 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.05015, allocations: 453.6 kB / 396.7 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.05081, allocations: 0.6043 MB / 397.3 MB, free: 176 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.05134, allocations: 383 kB / 397.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.05145, allocations: 84 kB / 397.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.05384, allocations: 0.9942 MB / 398.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.05402, allocations: 203.3 kB / 398.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.05431, allocations: 307.4 kB / 399.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.05751, allocations: 1.86 MB / 401.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05752, allocations: 0 / 401.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.05752, allocations: 0 / 401.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.05753, allocations: 0 / 401.1 MB, free: 12.35 MB / 378.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.001631/0.05916, allocations: 1.274 MB / 402.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.0592, allocations: 8.031 kB / 402.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.06003, allocations: 367.1 kB / 402.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.06062, allocations: 442.2 kB / 403.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.06066, allocations: 50.38 kB / 403.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.06077, allocations: 72.36 kB / 403.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.06148, allocations: 0.5777 MB / 403.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.06149, allocations: 192 / 403.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.06153, allocations: 32.38 kB / 403.9 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.06154, allocations: 19.94 kB / 403.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.06226, allocations: 0.56 MB / 404.4 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.06518, allocations: 2.033 MB / 406.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.06591, allocations: 0.6532 MB / 407.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.06632, allocations: 157.5 kB / 407.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/0.06812, allocations: 1.482 MB / 408.8 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.06814, allocations: 45.83 kB / 408.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 1.923e-06/0.06815, allocations: 0 / 408.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.006204/0.07435, allocations: 2.356 MB / 411.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.07438, allocations: 60.06 kB / 411.2 MB, free: 1.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.07475, allocations: 0.5178 MB / 411.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.07479, allocations: 37.7 kB / 411.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.07496, allocations: 407 kB / 412.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.0751, allocations: 253.8 kB / 412.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.07527, allocations: 160.2 kB / 412.6 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.07543, allocations: 0.5546 MB / 413.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.07559, allocations: 129.9 kB / 413.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.07585, allocations: 336.5 kB / 413.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.07632, allocations: 0.5222 MB / 414.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.07632, allocations: 4 kB / 414.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001731/0.07805, allocations: 0.804 MB / 414.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.07807, allocations: 6.5 kB / 414.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.07808, allocations: 4 kB / 414.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.07945, allocations: 350.9 kB / 415.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.07985, allocations: 195.7 kB / 415.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.08274, allocations: 4.51 MB / 420 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.08305, allocations: 27.98 kB / 420 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.0831, allocations: 28.08 kB / 420 MB, free: 8.652 MB / 394.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.0001901/0.08329, allocations: 208.3 kB / 420.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.0834, allocations: 75.62 kB / 420.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.08495, allocations: 0.787 MB / 421.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.08495, allocations: 8 kB / 421.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.08495, allocations: 0 / 421.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.08496, allocations: 3.984 kB / 421.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.08732, allocations: 1.388 MB / 422.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.08732, allocations: 3.984 kB / 422.5 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.08763, allocations: 139.8 kB / 422.6 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.08899, allocations: 346.9 kB / 423 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.08903, allocations: 23.98 kB / 423 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.09171, allocations: 4.468 MB / 427.5 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09171, allocations: 4 kB / 427.5 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.09345, allocations: 1.024 MB / 428.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.09365, allocations: 115.5 kB / 428.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.09371, allocations: 16 kB / 428.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.0939, allocations: 16 kB / 428.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.09423, allocations: 60.48 kB / 428.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.09426, allocations: 23.98 kB / 428.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.09448, allocations: 334.9 kB / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09448, allocations: 0 / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009478/0.09543, allocations: 438.8 kB / 429.5 MB, free: 14.77 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.0006949/0.09612, allocations: 0.5564 MB / 430 MB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008309/0.09695, allocations: 0.8106 MB / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.09695, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.09738, allocations: 0.6145 MB / 431.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.0979, allocations: 187.8 kB / 431.6 MB, free: 12.52 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.09973, allocations: 1.301 MB / 432.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.09983, allocations: 151.2 kB / 433.1 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.1001, allocations: 124.8 kB / 433.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.1005, allocations: 254 kB / 433.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1005, allocations: 4 kB / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Templates: time 0.1438/0.2443, allocations: 21.36 MB / 454.8 MB, free: 106.2 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610569697804749]