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.001333/0.001333, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00158/0.00158, allocations: 173 kB / 23.49 MB, free: 1.059 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.9326/0.9326, allocations: 177.1 MB / 203.8 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.1359/0.1359, allocations: 17.37 MB / 277.6 MB, free: 11.73 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.192e-06/1.192e-06, allocations: 0 / 353.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.788e-05, allocations: 2.312 kB / 353.5 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.02215/0.02217, allocations: 28.25 MB / 381.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.03036, allocations: 10.15 MB / 391.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.03065, allocations: 15.88 kB / 391.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.0311, allocations: 214.3 kB / 392.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.03192, allocations: 0.5894 MB / 392.7 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.0339, allocations: 1.502 MB / 394.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006824/0.03459, allocations: 0.9853 MB / 395.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.03496, allocations: 441.7 kB / 395.6 MB, free: 268 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.0354, allocations: 0.6084 MB / 396.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.03575, allocations: 387 kB / 396.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.841e-05/0.03583, allocations: 88 kB / 396.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.037, allocations: 0.9942 MB / 397.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.03714, allocations: 199.3 kB / 397.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.03735, allocations: 315.3 kB / 398.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.03893, allocations: 1.848 MB / 400 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.03893, allocations: 0 / 400 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03893, allocations: 0 / 400 MB, free: 11.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.03894, allocations: 0 / 400 MB, free: 11.83 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.00123/0.04017, allocations: 1.262 MB / 401.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.04021, allocations: 16.03 kB / 401.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.04079, allocations: 367.1 kB / 401.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.04122, allocations: 438.1 kB / 402.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.04125, allocations: 54.38 kB / 402.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.04133, allocations: 68.38 kB / 402.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.04203, allocations: 0.6404 MB / 402.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.04204, allocations: 192 / 402.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.04208, allocations: 32.38 kB / 402.9 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.0421, allocations: 19.94 kB / 402.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.04288, allocations: 0.6634 MB / 403.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.04542, allocations: 2.099 MB / 405.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.0462, allocations: 0.7038 MB / 406.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.04642, allocations: 193.5 kB / 406.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/0.04821, allocations: 1.474 MB / 408 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.04824, allocations: 41.89 kB / 408 MB, free: 3.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.342e-06/0.04824, allocations: 0 / 408 MB, free: 3.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006317/0.05455, allocations: 2.564 MB / 410.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.05458, allocations: 60.06 kB / 410.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.05522, allocations: 0.5337 MB / 411.2 MB, free: 364 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.05525, allocations: 33.7 kB / 411.2 MB, free: 324 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1219/0.1771, allocations: 413.8 kB / 411.6 MB, free: 63.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.1774, allocations: 243.9 kB / 411.9 MB, free: 62.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1776, allocations: 155.7 kB / 412 MB, free: 62.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1777, allocations: 0.5461 MB / 412.6 MB, free: 62.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.178, allocations: 166.6 kB / 412.7 MB, free: 62.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.1783, allocations: 376.3 kB / 413.1 MB, free: 62.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.179, allocations: 0.5835 MB / 413.7 MB, free: 61.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.179, allocations: 3.141 kB / 413.7 MB, free: 61.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001895/0.1809, allocations: 0.8733 MB / 414.6 MB, free: 61.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1809, allocations: 13.95 kB / 414.6 MB, free: 61.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1809, allocations: 4.125 kB / 414.6 MB, free: 61.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.1823, allocations: 352.7 kB / 414.9 MB, free: 61.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.1828, allocations: 195.8 kB / 415.1 MB, free: 61.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.1852, allocations: 4.567 MB / 419.7 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.1855, allocations: 26.64 kB / 419.7 MB, free: 57.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.1855, allocations: 35.91 kB / 419.7 MB, free: 57.29 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.00016/0.1857, allocations: 202.7 kB / 419.9 MB, free: 57.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1858, allocations: 79.67 kB / 420 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.1876, allocations: 0.8555 MB / 420.9 MB, free: 56.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1876, allocations: 7.719 kB / 420.9 MB, free: 56.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1876, allocations: 3.938 kB / 420.9 MB, free: 56.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1876, allocations: 5.516 kB / 420.9 MB, free: 56.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.19, allocations: 1.518 MB / 422.4 MB, free: 56.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.19, allocations: 6.781 kB / 422.4 MB, free: 56.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.1904, allocations: 138.2 kB / 422.6 MB, free: 56.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.1918, allocations: 346.6 kB / 422.9 MB, free: 55.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.1919, allocations: 24 kB / 422.9 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.194, allocations: 4.519 MB / 427.4 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.194, allocations: 2.594 kB / 427.4 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1959, allocations: 1.123 MB / 428.6 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1961, allocations: 119.6 kB / 428.7 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.1961, allocations: 14.28 kB / 428.7 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1963, allocations: 14.22 kB / 428.7 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1964, allocations: 59.61 kB / 428.8 MB, free: 50.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.1965, allocations: 29.45 kB / 428.8 MB, free: 50.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000252/0.1967, allocations: 365.3 kB / 429.2 MB, free: 50.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1967, allocations: 0 / 429.2 MB, free: 50.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001008/0.1977, allocations: 440.7 kB / 429.6 MB, free: 50.79 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.0006641/0.1984, allocations: 0.5486 MB / 430.1 MB, free: 50.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009544/0.1993, allocations: 0.8789 MB / 431 MB, free: 50.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1993, allocations: 4.812 kB / 431 MB, free: 50.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.1998, allocations: 0.6337 MB / 431.6 MB, free: 49.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.2003, allocations: 167.3 kB / 431.8 MB, free: 49.76 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.001859/0.2021, allocations: 1.325 MB / 433.1 MB, free: 49.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.2022, allocations: 148.9 kB / 433.3 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.2025, allocations: 131 kB / 433.4 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.2026, allocations: 87.02 kB / 433.5 MB, free: 48.95 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2026, allocations: 0 / 433.5 MB, free: 48.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01585/0.2185, allocations: 18.79 MB / 452.3 MB, free: 32.32 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.459163362858817]