Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008111/0.0008111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002012, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007224/0.0007224, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001732, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9521/0.9521, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08131/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08688/0.08688, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01243/0.09931, allocations: 6.978 MB / 268.6 MB, free: 6.277 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 269.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.223e-05, allocations: 2.312 kB / 269.9 MB, free: 4.984 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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.1-master/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.01626/0.01628, allocations: 4.716 MB / 274.6 MB, free: 240 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1183/0.1346, allocations: 10.15 MB / 284.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.135, allocations: 12.84 kB / 284.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1355, allocations: 220.7 kB / 285 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1366, allocations: 0.5853 MB / 285.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.1396, allocations: 1.499 MB / 287 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009319/0.1406, allocations: 0.972 MB / 288 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.1411, allocations: 455.8 kB / 288.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006342/0.1417, allocations: 0.6619 MB / 289.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.1422, allocations: 388.4 kB / 289.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1423, allocations: 84.09 kB / 289.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.1441, allocations: 1.03 MB / 290.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1442, allocations: 139.4 kB / 290.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1444, allocations: 250 kB / 291 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1461, allocations: 1.704 MB / 292.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.1461, allocations: 0 / 292.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1461, allocations: 0 / 292.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1461, allocations: 4 kB / 292.7 MB, free: 10.12 MB / 282.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.001601/0.1477, allocations: 1.407 MB / 294.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1478, allocations: 11.06 kB / 294.1 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007771/0.1485, allocations: 429.5 kB / 294.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.1491, allocations: 362.3 kB / 294.9 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.1491, allocations: 49.84 kB / 294.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.1492, allocations: 64.38 kB / 295 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.1498, allocations: 0.583 MB / 295.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1498, allocations: 192 / 295.6 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.1499, allocations: 25.69 kB / 295.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1499, allocations: 20.97 kB / 295.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.1504, allocations: 491.3 kB / 296.1 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1526, allocations: 1.637 MB / 297.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.1533, allocations: 0.6424 MB / 298.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1534, allocations: 143.2 kB / 298.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.1549, allocations: 1.242 MB / 299.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.155, allocations: 35.06 kB / 299.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 2.294e-06/0.155, allocations: 0 / 299.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.006877/0.1618, allocations: 2.765 MB / 302.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1619, allocations: 60.06 kB / 302.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.1622, allocations: 464.7 kB / 303.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.1622, allocations: 41.7 kB / 303.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1624, allocations: 321.2 kB / 303.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1625, allocations: 257.8 kB / 303.7 MB, free: 292 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1626, allocations: 146.5 kB / 303.8 MB, free: 140 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1627, allocations: 386.5 kB / 304.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1629, allocations: 104.8 kB / 304.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.163, allocations: 262.8 kB / 304.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.1634, allocations: 470.7 kB / 305 MB, free: 14.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1634, allocations: 4 kB / 305 MB, free: 14.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001167/0.1646, allocations: 0.6355 MB / 305.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1646, allocations: 11.98 kB / 305.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1646, allocations: 4 kB / 305.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.1658, allocations: 345 kB / 306 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.1662, allocations: 223.7 kB / 306.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.1684, allocations: 3.14 MB / 309.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.1687, allocations: 24.09 kB / 309.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.1688, allocations: 31.98 kB / 309.4 MB, free: 10.18 MB / 298.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 (93): * Single equations (assignments): 90 * 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.000155/0.1689, allocations: 156.4 kB / 309.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.169, allocations: 56.03 kB / 309.6 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1702, allocations: 0.6684 MB / 310.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1702, allocations: 8 kB / 310.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1702, allocations: 1.812 kB / 310.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1702, allocations: 3.984 kB / 310.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.172, allocations: 1.14 MB / 311.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.172, allocations: 4 kB / 311.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.1723, allocations: 163.8 kB / 311.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1724, allocations: 71.64 kB / 311.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.1736, allocations: 337.2 kB / 312 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.1736, allocations: 19.98 kB / 312 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.1755, allocations: 3.093 MB / 315.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1755, allocations: 7.938 kB / 315.1 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.1768, allocations: 0.8907 MB / 316 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.1768, allocations: 16 kB / 316.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.177, allocations: 20 kB / 316.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.1771, allocations: 52.55 kB / 316.1 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1771, allocations: 23.98 kB / 316.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1772, allocations: 204.6 kB / 316.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1772, allocations: 4 kB / 316.4 MB, free: 2.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008429/0.1781, allocations: 442.8 kB / 316.8 MB, free: 2.48 MB / 298.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 (69): * Single equations (assignments): 66 * 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.0006681/0.1787, allocations: 0.5521 MB / 317.3 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.1794, allocations: 0.6589 MB / 318 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.1794, allocations: 8.281 kB / 318 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.1798, allocations: 0.5264 MB / 318.5 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.1805, allocations: 0.9797 MB / 319.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.1867, allocations: 1.341 MB / 320.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.1868, allocations: 151.1 kB / 321 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003672/0.1871, allocations: 127.1 kB / 321.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.1875, allocations: 213.2 kB / 321.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1875, allocations: 0 / 321.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of Templates: time 0.02196/0.2094, allocations: 21.25 MB / 342.6 MB, free: 8.625 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2380990078672767]