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.001847/0.001847, allocations: 85.48 kB / 19.44 MB, free: 344 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.002055/0.002055, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.147/0.147, allocations: 17.37 MB / 276.9 MB, free: 11.7 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.473e-06/1.473e-06, allocations: 0 / 352.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.066e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 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.03789/0.03792, allocations: 25.98 MB / 378.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.05305, allocations: 10.15 MB / 388.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005359/0.05359, allocations: 11.88 kB / 388.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.0543, allocations: 218.3 kB / 389.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.05581, allocations: 0.5932 MB / 389.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.05976, allocations: 1.51 MB / 391.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.06125, allocations: 0.9814 MB / 392.1 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.06216, allocations: 441.8 kB / 392.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.06297, allocations: 0.6044 MB / 393.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.06362, allocations: 383.1 kB / 393.5 MB, free: 1.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.06377, allocations: 84 kB / 393.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.06637, allocations: 0.9941 MB / 394.6 MB, free: 496 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.06661, allocations: 195.4 kB / 394.8 MB, free: 300 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.06705, allocations: 319.3 kB / 395.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.07084, allocations: 2.183 MB / 397.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.07084, allocations: 0 / 397.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.07084, allocations: 0 / 397.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.07085, allocations: 0 / 397.3 MB, free: 13.79 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.002733/0.07358, allocations: 1.309 MB / 398.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.07363, allocations: 8.031 kB / 398.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.07475, allocations: 367.1 kB / 399 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.07557, allocations: 442.2 kB / 399.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.07562, allocations: 50.38 kB / 399.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.07597, allocations: 72.36 kB / 399.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.07744, allocations: 0.7999 MB / 400.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.07746, allocations: 192 / 400.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/0.07754, allocations: 28.36 kB / 400.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.07756, allocations: 27.94 kB / 400.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.07934, allocations: 0.9681 MB / 401.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.08452, allocations: 2.431 MB / 403.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.08598, allocations: 0.6765 MB / 404.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.08644, allocations: 261.6 kB / 404.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003624/0.09007, allocations: 1.576 MB / 406.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.09011, allocations: 45.89 kB / 406.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.884e-06/0.09011, allocations: 0 / 406.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.01524/0.1054, allocations: 2.942 MB / 409.3 MB, free: 1.578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1054, allocations: 60.06 kB / 409.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.1062, allocations: 0.6196 MB / 410 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.1063, allocations: 33.7 kB / 410 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.1067, allocations: 435 kB / 410.4 MB, free: 404 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.107, allocations: 253.9 kB / 410.7 MB, free: 148 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.13/0.237, allocations: 176.8 kB / 410.8 MB, free: 62.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.2372, allocations: 0.5715 MB / 411.4 MB, free: 62.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.2377, allocations: 262.6 kB / 411.7 MB, free: 62.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.2383, allocations: 493.5 kB / 412.2 MB, free: 61.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2393, allocations: 0.7911 MB / 412.9 MB, free: 61.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2393, allocations: 1.312 kB / 412.9 MB, free: 61.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003573/0.2429, allocations: 1.085 MB / 414 MB, free: 61.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2429, allocations: 9.375 kB / 414 MB, free: 61.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2429, allocations: 7.531 kB / 414 MB, free: 61.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003293/0.2462, allocations: 395.5 kB / 414.4 MB, free: 61.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.247, allocations: 189.2 kB / 414.6 MB, free: 61.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/0.2515, allocations: 4.966 MB / 419.6 MB, free: 56.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.2521, allocations: 27.81 kB / 419.6 MB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.2522, allocations: 39.64 kB / 419.7 MB, free: 56.68 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.0002704/0.2524, allocations: 247.5 kB / 419.9 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.2526, allocations: 81.7 kB / 420 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.2561, allocations: 1.024 MB / 421 MB, free: 56.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.2561, allocations: 8.062 kB / 421 MB, free: 56.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2561, allocations: 3.938 kB / 421 MB, free: 56.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.2561, allocations: 7.609 kB / 421 MB, free: 56.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.2606, allocations: 1.828 MB / 422.8 MB, free: 55.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2606, allocations: 1.062 kB / 422.8 MB, free: 55.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.2611, allocations: 143 kB / 423 MB, free: 55.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003246/0.2644, allocations: 388.3 kB / 423.4 MB, free: 55.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.2644, allocations: 20.83 kB / 423.4 MB, free: 55.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.2686, allocations: 4.916 MB / 428.3 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2686, allocations: 6.75 kB / 428.3 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/0.2722, allocations: 1.432 MB / 429.7 MB, free: 49.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.2725, allocations: 114.3 kB / 429.9 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.2726, allocations: 18.59 kB / 429.9 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.273, allocations: 15.33 kB / 429.9 MB, free: 49.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.2731, allocations: 59.94 kB / 429.9 MB, free: 49.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.2732, allocations: 26.14 kB / 430 MB, free: 49.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003809/0.2736, allocations: 406.5 kB / 430.4 MB, free: 49.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2736, allocations: 0 / 430.4 MB, free: 49.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001122/0.2747, allocations: 452.9 kB / 430.8 MB, free: 49.52 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.00075/0.2754, allocations: 0.5406 MB / 431.3 MB, free: 49.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.2768, allocations: 1.063 MB / 432.4 MB, free: 48.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2768, allocations: 0 / 432.4 MB, free: 48.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.2775, allocations: 0.7102 MB / 433.1 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.2783, allocations: 170.4 kB / 433.3 MB, free: 48.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2801, allocations: 1.407 MB / 434.7 MB, free: 47.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2803, allocations: 317.2 kB / 435 MB, free: 47.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.2807, allocations: 129.6 kB / 435.1 MB, free: 47.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.2809, allocations: 96.39 kB / 435.2 MB, free: 47.04 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2809, allocations: 0 / 435.2 MB, free: 47.04 MB / 330.7 MB Notification: Performance of Templates: time 0.02267/0.3036, allocations: 18.77 MB / 454 MB, free: 29.64 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: 5.575629669940099]