Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 190.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09468/0.09468, allocations: 15.55 MB / 320 MB, free: 13.25 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 69.23 kB / 448.2 MB, free: 46.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1007, allocations: 56.55 MB / 0.493 GB, free: 19.36 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.AcidBase.AcidBaseBufferTest): time 0.0292/0.1299, allocations: 25 MB / 0.5174 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.1436, allocations: 10.14 MB / 0.5273 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.1443, allocations: 7.938 kB / 0.5273 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.1451, allocations: 242.3 kB / 0.5275 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1466, allocations: 0.5819 MB / 0.5281 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.1504, allocations: 1.444 MB / 0.5295 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1518, allocations: 0.946 MB / 0.5304 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.1524, allocations: 429.1 kB / 0.5308 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.1529, allocations: 430.7 kB / 0.5312 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.1536, allocations: 482.2 kB / 0.5317 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1537, allocations: 84 kB / 0.5318 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.1566, allocations: 1.053 MB / 0.5328 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.1568, allocations: 191.4 kB / 0.533 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004642/0.1573, allocations: 434 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.1612, allocations: 1.996 MB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1612, allocations: 0 / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1612, allocations: 4 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1612, allocations: 0 / 0.5353 GB, free: 9.969 MB / 398.1 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.002239/0.1635, allocations: 1.242 MB / 0.5366 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1635, allocations: 8.031 kB / 0.5366 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/0.1644, allocations: 216 kB / 0.5368 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.1654, allocations: 494 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.1654, allocations: 50.38 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.1656, allocations: 72.33 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.1673, allocations: 1.083 MB / 0.5384 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1673, allocations: 0 / 0.5384 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.1674, allocations: 27.98 kB / 0.5384 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1674, allocations: 20 kB / 0.5385 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.1695, allocations: 1.515 MB / 0.5399 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.1746, allocations: 3.002 MB / 0.5429 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1761, allocations: 0.9698 MB / 0.5438 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.1766, allocations: 354.4 kB / 0.5442 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003773/0.1804, allocations: 2.461 MB / 0.5466 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1804, allocations: 38.98 kB / 0.5466 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.933e-06/0.1804, allocations: 4 kB / 0.5466 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01505/0.1955, allocations: 3.504 MB / 0.55 GB, free: 10.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1955, allocations: 59.97 kB / 0.5501 GB, free: 10.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.1964, allocations: 0.6931 MB / 0.5508 GB, free: 9.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.1964, allocations: 37.7 kB / 0.5508 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1967, allocations: 356.4 kB / 0.5511 GB, free: 9.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.1969, allocations: 253.8 kB / 0.5514 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.1972, allocations: 158.6 kB / 0.5515 GB, free: 8.844 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.1974, allocations: 362.8 kB / 0.5519 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.1981, allocations: 441.8 kB / 0.5523 GB, free: 8.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.1988, allocations: 0.5886 MB / 0.5529 GB, free: 7.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2002, allocations: 0.981 MB / 0.5538 GB, free: 6.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2002, allocations: 0 / 0.5538 GB, free: 6.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003965/0.2042, allocations: 1.409 MB / 0.5552 GB, free: 4.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2042, allocations: 8 kB / 0.5552 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2042, allocations: 7.938 kB / 0.5552 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.2064, allocations: 262.3 kB / 0.5555 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.2071, allocations: 195.7 kB / 0.5557 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005556/0.2127, allocations: 3.966 MB / 0.5595 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.2133, allocations: 20 kB / 0.5596 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.2134, allocations: 47.91 kB / 0.5596 GB, free: 132 kB / 414.1 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.0003705/0.2138, allocations: 200.4 kB / 0.5598 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.2139, allocations: 67.56 kB / 0.5599 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.2177, allocations: 1.193 MB / 0.561 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.2177, allocations: 8 kB / 0.561 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2177, allocations: 0 / 0.561 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.2177, allocations: 3.984 kB / 0.561 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005064/0.2228, allocations: 2.154 MB / 0.5631 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2228, allocations: 4 kB / 0.5631 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.2234, allocations: 139.8 kB / 0.5633 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.2255, allocations: 254.5 kB / 0.5635 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.2255, allocations: 27.98 kB / 0.5635 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.2308, allocations: 3.903 MB / 0.5674 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.2308, allocations: 4.031 kB / 0.5674 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.235, allocations: 1.646 MB / 0.569 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.2353, allocations: 204.6 kB / 0.5692 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.2354, allocations: 23.92 kB / 0.5692 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2358, allocations: 16 kB / 0.5692 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.236, allocations: 60.42 kB / 0.5693 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.236, allocations: 23.98 kB / 0.5693 GB, free: 5.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.2366, allocations: 0.5069 MB / 0.5698 GB, free: 5.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2366, allocations: 0 / 0.5698 GB, free: 5.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001173/0.2378, allocations: 438.9 kB / 0.5702 GB, free: 4.793 MB / 430.1 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.0009282/0.2387, allocations: 0.5367 MB / 0.5707 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.2406, allocations: 1.142 MB / 0.5718 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2406, allocations: 3.938 kB / 0.5718 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.2416, allocations: 0.6579 MB / 0.5725 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.2424, allocations: 157.7 kB / 0.5726 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2449, allocations: 1.557 MB / 0.5741 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.2455, allocations: 0.9109 MB / 0.575 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004452/0.2459, allocations: 136.9 kB / 0.5752 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.2461, allocations: 83.39 kB / 0.5752 GB, free: 15.48 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2461, allocations: 0 / 0.5752 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Templates: time 0.02965/0.2758, allocations: 18.55 MB / 0.5934 GB, free: 12.98 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.808107627555728]