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.001497/0.001497, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.00151/0.00151, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.07976/0.07976, allocations: 15.54 MB / 318.9 MB, free: 13.64 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.001889/0.001889, allocations: 63.33 kB / 446.1 MB, free: 48.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09624, allocations: 56.55 MB / 0.4909 GB, free: 20.63 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.02824/0.1245, allocations: 25.09 MB / 0.5154 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.1371, allocations: 10.12 MB / 0.5252 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005399/0.1376, allocations: 7.938 kB / 0.5252 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000672/0.1383, allocations: 250.2 kB / 0.5255 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1396, allocations: 0.5702 MB / 0.526 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.1431, allocations: 1.456 MB / 0.5275 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.1443, allocations: 0.9467 MB / 0.5284 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.1448, allocations: 417.1 kB / 0.5288 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.1453, allocations: 430.7 kB / 0.5292 GB, free: 304 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.1459, allocations: 474.2 kB / 0.5297 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1461, allocations: 84 kB / 0.5297 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002712/0.1488, allocations: 1.057 MB / 0.5308 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.149, allocations: 191.4 kB / 0.5309 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.1494, allocations: 434 kB / 0.5314 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.1528, allocations: 1.996 MB / 0.5333 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1528, allocations: 3.984 kB / 0.5333 GB, free: 12.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1528, allocations: 0 / 0.5333 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.1528, allocations: 0 / 0.5333 GB, free: 12.07 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.002243/0.1551, allocations: 1.238 MB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1551, allocations: 12.03 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.156, allocations: 208 kB / 0.5347 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.1567, allocations: 490 kB / 0.5352 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.1567, allocations: 54.31 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.1568, allocations: 72.33 kB / 0.5353 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.1585, allocations: 1.091 MB / 0.5364 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1585, allocations: 7.922 kB / 0.5364 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.1586, allocations: 28 kB / 0.5364 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.1586, allocations: 16 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1608, allocations: 1.511 MB / 0.5379 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.1659, allocations: 3.01 MB / 0.5409 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.1675, allocations: 0.9543 MB / 0.5418 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.168, allocations: 354.4 kB / 0.5421 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003809/0.1718, allocations: 2.465 MB / 0.5445 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1719, allocations: 43 kB / 0.5446 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 1.763e-06/0.1719, allocations: 0 / 0.5446 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=68): time 0.01487/0.1867, allocations: 3.501 MB / 0.548 GB, free: 12.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1868, allocations: 63.95 kB / 0.548 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008422/0.1876, allocations: 0.697 MB / 0.5487 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.1877, allocations: 37.64 kB / 0.5488 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1879, allocations: 360.4 kB / 0.5491 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.1881, allocations: 245.9 kB / 0.5493 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.1884, allocations: 154.5 kB / 0.5495 GB, free: 10.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1886, allocations: 370.8 kB / 0.5498 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.1892, allocations: 445.8 kB / 0.5503 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.19, allocations: 0.5925 MB / 0.5508 GB, free: 9.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.1914, allocations: 0.9733 MB / 0.5518 GB, free: 8.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1914, allocations: 0 / 0.5518 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003825/0.1952, allocations: 1.405 MB / 0.5532 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1953, allocations: 10.5 kB / 0.5532 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1953, allocations: 4 kB / 0.5532 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.1973, allocations: 270.3 kB / 0.5534 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.1981, allocations: 191.7 kB / 0.5536 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.2035, allocations: 3.966 MB / 0.5575 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.2041, allocations: 24 kB / 0.5575 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.2041, allocations: 35.98 kB / 0.5576 GB, free: 2.238 MB / 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.0003276/0.2045, allocations: 207.3 kB / 0.5578 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.2046, allocations: 63.56 kB / 0.5578 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.2084, allocations: 1.193 MB / 0.559 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2084, allocations: 8 kB / 0.559 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2084, allocations: 0 / 0.559 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.2084, allocations: 7.984 kB / 0.559 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/0.2133, allocations: 2.142 MB / 0.5611 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2133, allocations: 4.188 kB / 0.5611 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.2139, allocations: 139.8 kB / 0.5612 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.2159, allocations: 262.3 kB / 0.5615 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.216, allocations: 27.92 kB / 0.5615 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.2211, allocations: 3.919 MB / 0.5653 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2211, allocations: 0 / 0.5653 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.2253, allocations: 1.654 MB / 0.5669 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.2255, allocations: 196.6 kB / 0.5671 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.2256, allocations: 19.94 kB / 0.5671 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.226, allocations: 12 kB / 0.5672 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2262, allocations: 60.42 kB / 0.5672 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.2262, allocations: 27.98 kB / 0.5672 GB, free: 7.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005946/0.2268, allocations: 0.5069 MB / 0.5677 GB, free: 7.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2268, allocations: 7.938 kB / 0.5677 GB, free: 7.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001202/0.228, allocations: 442.8 kB / 0.5682 GB, free: 6.879 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.0009253/0.229, allocations: 0.5249 MB / 0.5687 GB, free: 6.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.2308, allocations: 1.15 MB / 0.5698 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2308, allocations: 1.125 kB / 0.5698 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009576/0.2318, allocations: 0.6489 MB / 0.5704 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.2326, allocations: 172.7 kB / 0.5706 GB, free: 4.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2352, allocations: 1.575 MB / 0.5721 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.2357, allocations: 0.9031 MB / 0.573 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.236, allocations: 107.4 kB / 0.5731 GB, free: 1.652 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.236, allocations: 0 / 0.5731 GB, free: 1.652 MB / 430.1 MB Notification: Performance of Templates: time 0.0268/0.2628, allocations: 21.49 MB / 0.5941 GB, free: 12.19 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: 9.278739032102749] Failed to read output from testmodel.py, exit status != 0: 0.4500975259579718 0.45706541399999995 0.12757439699999995 Calling exit ...