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.001789/0.001789, allocations: 104.3 kB / 19.7 MB, free: 2.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.002211/0.002211, allocations: 210.9 kB / 22.99 MB, free: 4.41 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1413/0.1413, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.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.00312/0.00312, allocations: 67.91 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3252, allocations: 59.87 MB / 0.5198 GB, free: 9.727 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.07183/0.397, allocations: 25.03 MB / 0.5443 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.41, allocations: 8.935 MB / 0.553 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007494/0.4108, allocations: 15.88 kB / 0.553 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.4116, allocations: 214.1 kB / 0.5532 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.4134, allocations: 0.5712 MB / 0.5538 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.4177, allocations: 1.456 MB / 0.5552 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001647/0.4194, allocations: 0.9514 MB / 0.5561 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/0.4201, allocations: 433.5 kB / 0.5565 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.4207, allocations: 431.7 kB / 0.5569 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.4213, allocations: 477.3 kB / 0.5574 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4215, allocations: 84 kB / 0.5575 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.4245, allocations: 1.012 MB / 0.5585 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.4248, allocations: 194.1 kB / 0.5586 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.4252, allocations: 365.3 kB / 0.559 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.4303, allocations: 2.056 MB / 0.561 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4303, allocations: 4 kB / 0.561 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4303, allocations: 0 / 0.561 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.4303, allocations: 0.7031 kB / 0.561 GB, free: 15.38 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.002508/0.4328, allocations: 1.154 MB / 0.5621 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4328, allocations: 15.91 kB / 0.5622 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009018/0.4337, allocations: 216.8 kB / 0.5624 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.4346, allocations: 429.2 kB / 0.5628 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.4346, allocations: 50.38 kB / 0.5628 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.4348, allocations: 73.03 kB / 0.5629 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.4365, allocations: 1.117 MB / 0.564 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4365, allocations: 0 / 0.564 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.4366, allocations: 31.98 kB / 0.564 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.4366, allocations: 16 kB / 0.564 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.4388, allocations: 1.538 MB / 0.5655 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.4438, allocations: 2.561 MB / 0.568 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.4453, allocations: 0.8952 MB / 0.5689 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.4458, allocations: 370.6 kB / 0.5693 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003585/0.4494, allocations: 1.72 MB / 0.5709 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4494, allocations: 38.94 kB / 0.571 GB, free: 5.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.4494, allocations: 4 kB / 0.571 GB, free: 5.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01406/0.4635, allocations: 3.388 MB / 0.5743 GB, free: 1.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4635, allocations: 67.94 kB / 0.5743 GB, free: 1.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.4644, allocations: 0.6696 MB / 0.575 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.4645, allocations: 37.7 kB / 0.575 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.4648, allocations: 356.3 kB / 0.5754 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.465, allocations: 257.8 kB / 0.5756 GB, free: 428 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.4653, allocations: 154.6 kB / 0.5758 GB, free: 268 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4654, allocations: 366.8 kB / 0.5761 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.4661, allocations: 457.8 kB / 0.5766 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.4669, allocations: 0.6003 MB / 0.5771 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4683, allocations: 0.9971 MB / 0.5781 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4683, allocations: 4 kB / 0.5781 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003783/0.4721, allocations: 1.433 MB / 0.5795 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.4721, allocations: 8 kB / 0.5795 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4721, allocations: 4 kB / 0.5795 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.4741, allocations: 266.3 kB / 0.5798 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.4749, allocations: 199.7 kB / 0.58 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.4802, allocations: 3.684 MB / 0.5836 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.4809, allocations: 31.98 kB / 0.5836 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.481, allocations: 36.14 kB / 0.5836 GB, free: 7.824 MB / 430.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.000379/0.4814, allocations: 212.4 kB / 0.5838 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.4815, allocations: 55.62 kB / 0.5839 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/0.4851, allocations: 1.205 MB / 0.5851 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.4851, allocations: 11.94 kB / 0.5851 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4852, allocations: 0 / 0.5851 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4852, allocations: 7.922 kB / 0.5851 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.49, allocations: 1.964 MB / 0.587 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.49, allocations: 4 kB / 0.587 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.4906, allocations: 135.9 kB / 0.5871 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.4925, allocations: 270.4 kB / 0.5874 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.4926, allocations: 19.98 kB / 0.5874 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.4975, allocations: 3.639 MB / 0.591 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4975, allocations: 4.031 kB / 0.591 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.5017, allocations: 1.674 MB / 0.5926 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.502, allocations: 115.6 kB / 0.5927 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5021, allocations: 24 kB / 0.5927 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.5025, allocations: 12 kB / 0.5928 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.5027, allocations: 60.55 kB / 0.5928 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.5027, allocations: 32.16 kB / 0.5928 GB, free: 14.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005699/0.5033, allocations: 0.4951 MB / 0.5933 GB, free: 13.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5033, allocations: 0 / 0.5933 GB, free: 13.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001376/0.5047, allocations: 442.8 kB / 0.5937 GB, free: 13.09 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.001052/0.5057, allocations: 0.525 MB / 0.5943 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.5077, allocations: 1.17 MB / 0.5954 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5077, allocations: 0 / 0.5954 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.5087, allocations: 0.6586 MB / 0.596 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.5096, allocations: 148.5 kB / 0.5962 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5123, allocations: 1.594 MB / 0.5977 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.5127, allocations: 314.6 kB / 0.598 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.513, allocations: 111.4 kB / 0.5982 GB, free: 8.441 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.513, allocations: 0 / 0.5982 GB, free: 8.441 MB / 446.1 MB Notification: Performance of Templates: time 0.03034/0.5433, allocations: 21.86 MB / 0.6195 GB, free: 2.617 MB / 462.1 MB " [Timeout remaining time 659] 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.879961132013705] Failed to read output from testmodel.py, exit status != 0: 0.5546124270185828 0.5679875019999999 0.13417049199999995 Calling exit ...