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.00138/0.00138, allocations: 116.4 kB / 17.13 MB, free: 6.004 MB / 14.72 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.001533/0.001533, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1446/0.1446, allocations: 23.86 MB / 333.4 MB, free: 1.188 MB / 254.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 64.06 kB / 467.2 MB, free: 30.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 59.83 MB / 0.5146 GB, free: 12.43 MB / 382.1 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.03869/0.1538, allocations: 25.11 MB / 0.5392 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.1671, allocations: 10.16 MB / 0.5491 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006157/0.1677, allocations: 11.88 kB / 0.5491 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.1684, allocations: 242.2 kB / 0.5493 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.17, allocations: 0.5703 MB / 0.5499 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003796/0.1738, allocations: 1.46 MB / 0.5513 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1752, allocations: 0.9467 MB / 0.5522 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006545/0.1759, allocations: 433 kB / 0.5526 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.1764, allocations: 422.8 kB / 0.5531 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.177, allocations: 486.3 kB / 0.5535 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.1771, allocations: 84 kB / 0.5536 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.1803, allocations: 1.053 MB / 0.5546 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.1805, allocations: 199.3 kB / 0.5548 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.181, allocations: 430.1 kB / 0.5552 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.1846, allocations: 2.058 MB / 0.5572 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1846, allocations: 0 / 0.5572 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1846, allocations: 0 / 0.5572 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1846, allocations: 0 / 0.5572 GB, free: 0.7734 MB / 414.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.002296/0.1869, allocations: 1.234 MB / 0.5584 GB, free: 15.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1869, allocations: 12.03 kB / 0.5585 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.1878, allocations: 208 kB / 0.5586 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.1885, allocations: 0.4901 MB / 0.5591 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.1885, allocations: 50.38 kB / 0.5592 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1887, allocations: 72.33 kB / 0.5592 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.1903, allocations: 1.083 MB / 0.5603 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1903, allocations: 0 / 0.5603 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.1904, allocations: 27.98 kB / 0.5603 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.1904, allocations: 19.98 kB / 0.5603 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.1925, allocations: 1.515 MB / 0.5618 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.1975, allocations: 3.014 MB / 0.5648 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.1991, allocations: 0.962 MB / 0.5657 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.1996, allocations: 358.3 kB / 0.5661 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003921/0.2035, allocations: 2.461 MB / 0.5685 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2035, allocations: 39 kB / 0.5685 GB, free: 4.805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.003e-06/0.2035, allocations: 0 / 0.5685 GB, free: 4.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.01503/0.2186, allocations: 3.506 MB / 0.5719 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2186, allocations: 55.97 kB / 0.572 GB, free: 1.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.2195, allocations: 0.6931 MB / 0.5726 GB, free: 468 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.2196, allocations: 33.7 kB / 0.5727 GB, free: 428 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.2198, allocations: 356.4 kB / 0.573 GB, free: 68 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.2201, allocations: 250 kB / 0.5733 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.2204, allocations: 158.5 kB / 0.5734 GB, free: 15.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2206, allocations: 370.8 kB / 0.5738 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.2213, allocations: 449.8 kB / 0.5742 GB, free: 14.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/0.2221, allocations: 0.5847 MB / 0.5748 GB, free: 14.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2235, allocations: 0.9694 MB / 0.5757 GB, free: 13.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2235, allocations: 0 / 0.5757 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004031/0.2276, allocations: 1.413 MB / 0.5771 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.2276, allocations: 11.98 kB / 0.5771 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.2276, allocations: 4 kB / 0.5771 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.2297, allocations: 270.2 kB / 0.5774 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.2305, allocations: 191.7 kB / 0.5775 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.2362, allocations: 3.96 MB / 0.5814 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.2369, allocations: 24 kB / 0.5814 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.237, allocations: 35.98 kB / 0.5815 GB, free: 6.949 MB / 446.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.0003965/0.2374, allocations: 218.4 kB / 0.5817 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.2376, allocations: 63.58 kB / 0.5817 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.2414, allocations: 1.185 MB / 0.5829 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.2414, allocations: 8 kB / 0.5829 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2414, allocations: 8 kB / 0.5829 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2414, allocations: 3.984 kB / 0.5829 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.2467, allocations: 2.157 MB / 0.585 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.2467, allocations: 7.938 kB / 0.585 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.2472, allocations: 127.9 kB / 0.5851 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.2493, allocations: 266.4 kB / 0.5854 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.2493, allocations: 19.98 kB / 0.5854 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2739/0.5233, allocations: 3.912 MB / 0.5892 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5233, allocations: 2.656 kB / 0.5892 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/0.5276, allocations: 1.651 MB / 0.5909 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.528, allocations: 202.6 kB / 0.5911 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.5281, allocations: 13.28 kB / 0.5911 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.5286, allocations: 16.12 kB / 0.5911 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.5288, allocations: 54.88 kB / 0.5911 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.5289, allocations: 33.84 kB / 0.5912 GB, free: 63.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.5295, allocations: 0.5051 MB / 0.5917 GB, free: 63.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5295, allocations: 0 / 0.5917 GB, free: 63.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001536/0.5311, allocations: 444 kB / 0.5921 GB, free: 63.55 MB / 446.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.001248/0.5323, allocations: 0.531 MB / 0.5926 GB, free: 63.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.5344, allocations: 1.148 MB / 0.5937 GB, free: 62.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5344, allocations: 2.656 kB / 0.5937 GB, free: 62.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5354, allocations: 0.6472 MB / 0.5944 GB, free: 62.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5364, allocations: 159.9 kB / 0.5945 GB, free: 62.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.5392, allocations: 1.581 MB / 0.5961 GB, free: 61.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.5396, allocations: 0.9119 MB / 0.5969 GB, free: 60.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.54, allocations: 111.4 kB / 0.597 GB, free: 60.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.031e-06/0.54, allocations: 5.25 kB / 0.5971 GB, free: 60.96 MB / 446.1 MB Notification: Performance of Templates: time 0.02909/0.569, allocations: 21.76 MB / 0.6183 GB, free: 52.25 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.093228283978533] Failed to read output from testmodel.py, exit status != 0: 0.5765515610110015 0.585246549 0.39847617799999996 Calling exit ...