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.001034/0.001034, 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.0009606/0.0009606, allocations: 173 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.9204/0.9204, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.0935/0.0935, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.232e-06/1.232e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.692e-05, allocations: 2.312 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.0231/0.02312, allocations: 28.32 MB / 381.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008204/0.03132, allocations: 10.21 MB / 392 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.03168, allocations: 15.88 kB / 392 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.03227, allocations: 218.3 kB / 392.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.03341, allocations: 0.5816 MB / 392.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.03611, allocations: 1.521 MB / 394.3 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009422/0.03705, allocations: 0.9814 MB / 395.3 MB, free: 216 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004649/0.03752, allocations: 437.8 kB / 395.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.03807, allocations: 0.6043 MB / 396.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.03848, allocations: 387 kB / 396.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.03856, allocations: 88 kB / 396.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.04005, allocations: 0.9864 MB / 397.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.04022, allocations: 203.3 kB / 398 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.04042, allocations: 311.3 kB / 398.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.04223, allocations: 1.863 MB / 400.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.04224, allocations: 0 / 400.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04224, allocations: 0 / 400.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.04225, 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.001363/0.04361, allocations: 1.258 MB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.04365, allocations: 12.03 kB / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.04423, allocations: 363.2 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.04468, allocations: 446.1 kB / 402.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.04472, allocations: 46.38 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.04479, allocations: 68.38 kB / 402.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.04555, allocations: 0.6404 MB / 402.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.04556, allocations: 192 / 402.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.04561, allocations: 36.36 kB / 403 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.04562, allocations: 19.94 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.04639, allocations: 0.6635 MB / 403.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.0488, allocations: 2.099 MB / 405.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.04956, allocations: 0.7039 MB / 406.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.04977, allocations: 189.6 kB / 406.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.0514, allocations: 1.482 MB / 408.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.05143, allocations: 41.89 kB / 408.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.252e-06/0.05143, allocations: 0 / 408.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006214/0.05764, allocations: 2.56 MB / 410.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.05768, allocations: 60.06 kB / 410.8 MB, free: 432 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1308/0.1885, allocations: 0.5255 MB / 411.3 MB, free: 49.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.1886, allocations: 39.2 kB / 411.4 MB, free: 49.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1887, allocations: 415.6 kB / 411.8 MB, free: 49.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1889, allocations: 243.3 kB / 412 MB, free: 49.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.1891, allocations: 157.8 kB / 412.2 MB, free: 49.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1892, allocations: 0.5427 MB / 412.7 MB, free: 49.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.1894, allocations: 167.1 kB / 412.9 MB, free: 49.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1898, allocations: 380.5 kB / 413.2 MB, free: 48.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.1904, allocations: 0.582 MB / 413.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1904, allocations: 7.047 kB / 413.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001762/0.1921, allocations: 0.8696 MB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1921, allocations: 6.875 kB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1922, allocations: 11.72 kB / 414.7 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.1936, allocations: 353.8 kB / 415.1 MB, free: 48.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.194, allocations: 194.6 kB / 415.2 MB, free: 48.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.1964, allocations: 4.568 MB / 419.8 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.1967, allocations: 25.14 kB / 419.8 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.1967, allocations: 41.25 kB / 419.9 MB, free: 44.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.0001499/0.1969, allocations: 198.5 kB / 420.1 MB, free: 44.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.197, allocations: 79.03 kB / 420.2 MB, free: 44.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.1987, allocations: 0.8529 MB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1987, allocations: 11.88 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1987, allocations: 5.203 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1988, allocations: 3.422 kB / 421 MB, free: 44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.2012, allocations: 1.526 MB / 422.5 MB, free: 43.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2012, allocations: 1.25 kB / 422.6 MB, free: 43.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.2015, allocations: 138.7 kB / 422.7 MB, free: 43.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.2029, allocations: 342.5 kB / 423 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.203, allocations: 24.2 kB / 423 MB, free: 43.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.205, allocations: 4.512 MB / 427.6 MB, free: 39.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.205, allocations: 5.406 kB / 427.6 MB, free: 39.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.2068, allocations: 1.121 MB / 428.7 MB, free: 38.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.207, allocations: 120.3 kB / 428.8 MB, free: 38.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.207, allocations: 22.23 kB / 428.8 MB, free: 38.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2072, allocations: 16.12 kB / 428.8 MB, free: 38.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2073, allocations: 63.8 kB / 428.9 MB, free: 38.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.2073, allocations: 26.39 kB / 428.9 MB, free: 38.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002567/0.2076, allocations: 360.9 kB / 429.3 MB, free: 38.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2076, allocations: 0 / 429.3 MB, free: 38.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009115/0.2085, allocations: 444.2 kB / 429.7 MB, free: 38.77 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.0006528/0.2092, allocations: 0.5389 MB / 430.3 MB, free: 38.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008745/0.21, allocations: 0.8839 MB / 431.1 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.21, allocations: 2 kB / 431.1 MB, free: 38.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.2104, allocations: 0.631 MB / 431.8 MB, free: 37.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.2109, allocations: 171.9 kB / 431.9 MB, free: 37.95 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.001802/0.2127, allocations: 1.334 MB / 433.3 MB, free: 37.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.2128, allocations: 145.1 kB / 433.4 MB, free: 37.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.2131, allocations: 128.8 kB / 433.5 MB, free: 37.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2132, allocations: 89.91 kB / 433.6 MB, free: 37.23 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2132, allocations: 0 / 433.6 MB, free: 37.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01757/0.2308, allocations: 20.73 MB / 454.4 MB, free: 22.25 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.40356676466763]