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.001114/0.001114, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001321/0.001321, allocations: 181 kB / 23.36 MB, free: 1.125 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.9384/0.9384, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.08281/0.08281, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.644e-06/1.644e-06, allocations: 0 / 300.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.046e-05, allocations: 3.016 kB / 300.6 MB, free: 1.883 MB / 266.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.04351/0.04353, allocations: 34.1 MB / 334.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009752/0.05328, allocations: 10.09 MB / 344.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.05375, allocations: 11.88 kB / 344.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.05431, allocations: 218.3 kB / 345 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.05561, allocations: 0.5932 MB / 345.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.05847, allocations: 1.529 MB / 347.2 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.05949, allocations: 0.9853 MB / 348.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005319/0.06002, allocations: 443.8 kB / 348.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.06061, allocations: 0.6082 MB / 349.2 MB, free: 4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.06107, allocations: 379.1 kB / 349.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.06117, allocations: 92 kB / 349.6 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.0632, allocations: 0.9941 MB / 350.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.06335, allocations: 195.4 kB / 350.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.06358, allocations: 315.3 kB / 351.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.06601, allocations: 1.856 MB / 353 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.06602, allocations: 4 kB / 353 MB, free: 180 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.06602, allocations: 0 / 353 MB, free: 180 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.06603, allocations: 0 / 353 MB, free: 180 kB / 314.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.00136/0.06739, allocations: 1.13 MB / 354.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.06742, allocations: 12.03 kB / 354.1 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005882/0.06801, allocations: 355.5 kB / 354.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.06843, allocations: 355.5 kB / 354.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.06847, allocations: 50.38 kB / 354.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.06854, allocations: 76.36 kB / 355 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.06908, allocations: 0.5906 MB / 355.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.06909, allocations: 192 / 355.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.06913, allocations: 24.38 kB / 355.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.06914, allocations: 19.94 kB / 355.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.06964, allocations: 484.4 kB / 356.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.07188, allocations: 1.636 MB / 357.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.07254, allocations: 0.6451 MB / 358.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.07268, allocations: 134.8 kB / 358.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.07427, allocations: 1.273 MB / 359.7 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.0743, allocations: 39.06 kB / 359.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.0743, allocations: 0 / 359.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.005923/0.08022, allocations: 2.446 MB / 362.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.08025, allocations: 64.05 kB / 362.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.08057, allocations: 472.7 kB / 362.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.08061, allocations: 33.7 kB / 362.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.08074, allocations: 329.2 kB / 363.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.08086, allocations: 245.9 kB / 363.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.08101, allocations: 146.5 kB / 363.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.08111, allocations: 374.6 kB / 363.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.08125, allocations: 112.8 kB / 364 MB, free: 4.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.08145, allocations: 270.7 kB / 364.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.08184, allocations: 457.4 kB / 364.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.08185, allocations: 0 / 364.7 MB, free: 4.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001196/0.08304, allocations: 0.6392 MB / 365.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.08306, allocations: 9.875 kB / 365.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.08307, allocations: 4 kB / 365.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.08425, allocations: 345.3 kB / 365.7 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.08463, allocations: 183.7 kB / 365.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.08691, allocations: 3.128 MB / 369 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.08717, allocations: 24 kB / 369 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.08721, allocations: 27.98 kB / 369 MB, free: 15.55 MB / 346.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.0001606/0.08737, allocations: 160.4 kB / 369.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.879e-05/0.08745, allocations: 51.95 kB / 369.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.08871, allocations: 0.6684 MB / 369.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.08871, allocations: 8 kB / 369.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.08872, allocations: 0 / 369.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.08872, allocations: 4.125 kB / 369.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.0905, allocations: 1.136 MB / 371 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.09051, allocations: 0 / 371 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.09078, allocations: 140 kB / 371.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.09193, allocations: 333 kB / 371.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.09197, allocations: 27.98 kB / 371.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.09398, allocations: 3.077 MB / 374.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.09398, allocations: 4 kB / 374.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.09533, allocations: 0.8946 MB / 375.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.0955, allocations: 79.58 kB / 375.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.09555, allocations: 12 kB / 375.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.09572, allocations: 20 kB / 375.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.09581, allocations: 56.48 kB / 375.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.09584, allocations: 23.98 kB / 375.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.09599, allocations: 204.6 kB / 375.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.096, allocations: 0 / 375.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008999/0.09689, allocations: 438.8 kB / 376.3 MB, free: 7.879 MB / 346.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.0007353/0.09763, allocations: 0.5574 MB / 376.9 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007884/0.09842, allocations: 0.6502 MB / 377.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.09843, allocations: 8.062 kB / 377.5 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.09881, allocations: 478.9 kB / 378 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.09926, allocations: 172.4 kB / 378.2 MB, free: 5.965 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1012, allocations: 1.283 MB / 379.5 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.1013, allocations: 151.3 kB / 379.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.1016, allocations: 120.9 kB / 379.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.1019, allocations: 221.2 kB / 379.9 MB, free: 4.121 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1019, allocations: 4 kB / 379.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of Templates: time 0.02196/0.1239, allocations: 20.97 MB / 400.9 MB, free: 15.23 MB / 378.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.325728630181402]