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.001603/0.001603, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001425/0.001425, 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1383/0.1383, allocations: 23.9 MB / 333.4 MB, free: 1.16 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: 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.002047/0.002047, allocations: 71.41 kB / 467.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09256, allocations: 59.83 MB / 0.5147 GB, free: 12.39 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.03788/0.1304, allocations: 25.38 MB / 0.5395 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1437, allocations: 10.16 MB / 0.5494 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.1441, allocations: 11.88 kB / 0.5494 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.1447, allocations: 250.2 kB / 0.5497 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.146, allocations: 0.578 MB / 0.5502 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.1493, allocations: 1.444 MB / 0.5516 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1505, allocations: 0.9506 MB / 0.5526 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.151, allocations: 436.9 kB / 0.553 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.1515, allocations: 422.8 kB / 0.5534 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.1522, allocations: 474.3 kB / 0.5538 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.1523, allocations: 84 kB / 0.5539 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.1549, allocations: 1.057 MB / 0.555 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.1551, allocations: 195.3 kB / 0.5551 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004676/0.1556, allocations: 430 kB / 0.5556 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1587, allocations: 2.054 MB / 0.5576 GB, free: 480 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1587, allocations: 4 kB / 0.5576 GB, free: 476 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1587, allocations: 0 / 0.5576 GB, free: 476 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1587, allocations: 3.938 kB / 0.5576 GB, free: 472 kB / 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.002254/0.161, allocations: 1.238 MB / 0.5588 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.161, allocations: 8.031 kB / 0.5588 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.1619, allocations: 212 kB / 0.559 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.1626, allocations: 0.4901 MB / 0.5595 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.1627, allocations: 50.38 kB / 0.5595 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1628, allocations: 72.33 kB / 0.5596 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.1645, allocations: 1.091 MB / 0.5606 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1645, allocations: 0 / 0.5606 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.1646, allocations: 24 kB / 0.5607 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.1646, allocations: 16 kB / 0.5607 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.1669, allocations: 1.519 MB / 0.5622 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.172, allocations: 3.01 MB / 0.5651 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1736, allocations: 0.9582 MB / 0.566 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.1742, allocations: 354.4 kB / 0.5664 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004031/0.1782, allocations: 2.469 MB / 0.5688 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1783, allocations: 39 kB / 0.5688 GB, free: 4.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 1.754e-06/0.1783, allocations: 0 / 0.5688 GB, free: 4.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.01535/0.1936, allocations: 3.492 MB / 0.5722 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.1937, allocations: 63.91 kB / 0.5723 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.1946, allocations: 0.697 MB / 0.573 GB, free: 148 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.1946, allocations: 41.7 kB / 0.573 GB, free: 100 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.1949, allocations: 360.4 kB / 0.5734 GB, free: 15.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1951, allocations: 241.9 kB / 0.5736 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.1954, allocations: 158.5 kB / 0.5737 GB, free: 15.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1956, allocations: 370.8 kB / 0.5741 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.1963, allocations: 441.8 kB / 0.5745 GB, free: 14.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.1971, allocations: 0.5886 MB / 0.5751 GB, free: 13.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.1985, allocations: 0.9772 MB / 0.576 GB, free: 12.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1985, allocations: 0 / 0.576 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004055/0.2026, allocations: 1.409 MB / 0.5774 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2026, allocations: 4 kB / 0.5774 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.2026, allocations: 8 kB / 0.5774 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.2048, allocations: 262.3 kB / 0.5777 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2056, allocations: 195.7 kB / 0.5779 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/0.2113, allocations: 3.964 MB / 0.5817 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.2119, allocations: 20 kB / 0.5818 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.212, allocations: 43.97 kB / 0.5818 GB, free: 6.633 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.0003222/0.2123, allocations: 210.6 kB / 0.582 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.2125, allocations: 67.52 kB / 0.5821 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.2164, allocations: 1.197 MB / 0.5832 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2164, allocations: 8 kB / 0.5832 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2164, allocations: 0 / 0.5832 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2164, allocations: 3.984 kB / 0.5832 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/0.2217, allocations: 2.157 MB / 0.5854 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2217, allocations: 4.172 kB / 0.5854 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.2223, allocations: 135.9 kB / 0.5855 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.2243, allocations: 266.2 kB / 0.5857 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.2244, allocations: 23.98 kB / 0.5858 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2137/0.4381, allocations: 3.902 MB / 0.5896 GB, free: 63.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4381, allocations: 2.062 kB / 0.5896 GB, free: 63.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/0.4423, allocations: 1.653 MB / 0.5912 GB, free: 63.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.4425, allocations: 197.8 kB / 0.5914 GB, free: 63.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.4426, allocations: 17.59 kB / 0.5914 GB, free: 63.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.443, allocations: 13.59 kB / 0.5914 GB, free: 63.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4432, allocations: 63.39 kB / 0.5915 GB, free: 63.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.4432, allocations: 28.8 kB / 0.5915 GB, free: 63.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005701/0.4438, allocations: 0.5082 MB / 0.592 GB, free: 63.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4438, allocations: 0 / 0.592 GB, free: 63.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001177/0.445, allocations: 442.3 kB / 0.5924 GB, free: 63.47 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.0009011/0.4459, allocations: 0.532 MB / 0.5929 GB, free: 63.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.4477, allocations: 1.151 MB / 0.5941 GB, free: 62.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4477, allocations: 0 / 0.5941 GB, free: 62.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.4486, allocations: 0.6425 MB / 0.5947 GB, free: 62.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.4495, allocations: 159.4 kB / 0.5948 GB, free: 62.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.4518, allocations: 1.58 MB / 0.5964 GB, free: 61.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.4522, allocations: 0.9139 MB / 0.5973 GB, free: 60.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.4524, allocations: 103.4 kB / 0.5974 GB, free: 60.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4524, allocations: 4.188 kB / 0.5974 GB, free: 60.88 MB / 446.1 MB Notification: Performance of Templates: time 0.02353/0.476, allocations: 21.78 MB / 0.6186 GB, free: 52.05 MB / 446.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.536514978011837] Failed to read output from testmodel.py, exit status != 0: 0.48347268800716847 0.4923532 0.331496325 Calling exit ...