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.001308/0.001308, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001456/0.001456, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1565/0.1565, allocations: 23.99 MB / 337.2 MB, free: 10.86 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.002133/0.002133, allocations: 68.19 kB / 472.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3004, allocations: 59.89 MB / 0.5199 GB, free: 9.738 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.06993/0.3704, allocations: 25.1 MB / 0.5445 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.384, allocations: 8.935 MB / 0.5532 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.3848, allocations: 11.88 kB / 0.5532 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.3856, allocations: 219.1 kB / 0.5534 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.3876, allocations: 0.5659 MB / 0.554 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.3918, allocations: 1.456 MB / 0.5554 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3934, allocations: 0.9548 MB / 0.5563 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.3942, allocations: 429.7 kB / 0.5567 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.3949, allocations: 436 kB / 0.5571 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.3957, allocations: 421.2 kB / 0.5575 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.396, allocations: 84 kB / 0.5576 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.3989, allocations: 0.9839 MB / 0.5586 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.3992, allocations: 193.9 kB / 0.5588 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.3998, allocations: 361.4 kB / 0.5591 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004864/0.4046, allocations: 2.054 MB / 0.5611 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4046, allocations: 1.219 kB / 0.5611 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4046, allocations: 4 kB / 0.5611 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4047, allocations: 0 / 0.5611 GB, free: 15.27 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.002543/0.4072, allocations: 1.157 MB / 0.5623 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4072, allocations: 12.03 kB / 0.5623 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.4081, allocations: 208.9 kB / 0.5625 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.409, allocations: 433.4 kB / 0.5629 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.409, allocations: 50.38 kB / 0.5629 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.4092, allocations: 69.12 kB / 0.563 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4109, allocations: 1.114 MB / 0.5641 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.4109, allocations: 0 / 0.5641 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.411, allocations: 28 kB / 0.5641 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.411, allocations: 16 kB / 0.5641 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.4132, allocations: 1.542 MB / 0.5656 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.4183, allocations: 2.569 MB / 0.5681 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4199, allocations: 0.8947 MB / 0.569 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.4204, allocations: 358.7 kB / 0.5694 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003621/0.424, allocations: 1.72 MB / 0.571 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.4241, allocations: 50.88 kB / 0.5711 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.385e-06/0.4241, allocations: 0 / 0.5711 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01445/0.4385, allocations: 3.395 MB / 0.5744 GB, free: 1.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4386, allocations: 64 kB / 0.5745 GB, free: 1.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.4394, allocations: 0.6774 MB / 0.5751 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/0.4395, allocations: 33.7 kB / 0.5752 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.4398, allocations: 360.3 kB / 0.5755 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.44, allocations: 253.8 kB / 0.5757 GB, free: 328 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.4403, allocations: 150.6 kB / 0.5759 GB, free: 172 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4405, allocations: 362.8 kB / 0.5762 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.4412, allocations: 465.7 kB / 0.5767 GB, free: 15.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.442, allocations: 0.6042 MB / 0.5773 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.4435, allocations: 1.001 MB / 0.5782 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4435, allocations: 4 kB / 0.5782 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003887/0.4474, allocations: 1.433 MB / 0.5796 GB, free: 12.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4474, allocations: 10.66 kB / 0.5797 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4474, allocations: 4 kB / 0.5797 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.4494, allocations: 266.3 kB / 0.5799 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.4502, allocations: 195.6 kB / 0.5801 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.4555, allocations: 3.684 MB / 0.5837 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.4561, allocations: 23.98 kB / 0.5837 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.4562, allocations: 39.98 kB / 0.5838 GB, free: 7.723 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.0003726/0.4566, allocations: 213.6 kB / 0.584 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4567, allocations: 55.78 kB / 0.584 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.4604, allocations: 1.201 MB / 0.5852 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4604, allocations: 11.94 kB / 0.5852 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4604, allocations: 0 / 0.5852 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4605, allocations: 3.984 kB / 0.5852 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.4653, allocations: 1.96 MB / 0.5871 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4653, allocations: 4 kB / 0.5871 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.4659, allocations: 140 kB / 0.5873 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.4678, allocations: 258.3 kB / 0.5875 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/0.4679, allocations: 20 kB / 0.5875 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005058/0.4729, allocations: 3.647 MB / 0.5911 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4729, allocations: 3.938 kB / 0.5911 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.4771, allocations: 1.682 MB / 0.5927 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.4775, allocations: 115.6 kB / 0.5928 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.4775, allocations: 16 kB / 0.5928 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4779, allocations: 16 kB / 0.5929 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.4781, allocations: 60.48 kB / 0.5929 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.4782, allocations: 31.92 kB / 0.593 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005848/0.4787, allocations: 495.1 kB / 0.5934 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4787, allocations: 4 kB / 0.5934 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001359/0.4801, allocations: 450.8 kB / 0.5939 GB, free: 12.99 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.001018/0.4811, allocations: 0.5368 MB / 0.5944 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.4831, allocations: 1.167 MB / 0.5955 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4831, allocations: 0 / 0.5955 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4841, allocations: 0.6543 MB / 0.5962 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/0.485, allocations: 152.3 kB / 0.5963 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.4877, allocations: 1.591 MB / 0.5979 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.488, allocations: 310.6 kB / 0.5982 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.4883, allocations: 107.4 kB / 0.5983 GB, free: 8.348 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4883, allocations: 0 / 0.5983 GB, free: 8.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02952/0.5178, allocations: 21.87 MB / 0.6196 GB, free: 2.508 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.510787467006594] Failed to read output from testmodel.py, exit status != 0: 0.5271763447672129 0.5425966879999999 0.134587023 Calling exit ...