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.00158/0.00158, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.001567/0.001567, allocations: 220 kB / 22.25 MB, free: 5.133 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.012 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.1428/0.1428, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.002088/0.002088, allocations: 67.89 kB / 471.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3036, allocations: 59.87 MB / 0.5191 GB, free: 9.805 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.03453/0.3381, allocations: 25.38 MB / 0.5439 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.3516, allocations: 10.19 MB / 0.5539 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007237/0.3523, allocations: 11.88 kB / 0.5539 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.3531, allocations: 238.4 kB / 0.5541 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.3547, allocations: 0.5752 MB / 0.5547 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00404/0.3588, allocations: 1.467 MB / 0.5561 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3603, allocations: 0.9549 MB / 0.557 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006932/0.361, allocations: 428.7 kB / 0.5574 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.3616, allocations: 430.8 kB / 0.5578 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.3624, allocations: 480.7 kB / 0.5583 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3625, allocations: 84 kB / 0.5584 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.3658, allocations: 1.047 MB / 0.5594 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.3661, allocations: 193.6 kB / 0.5596 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005302/0.3666, allocations: 432.7 kB / 0.56 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.3712, allocations: 2.058 MB / 0.562 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3712, allocations: 0.7031 kB / 0.562 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3712, allocations: 4 kB / 0.562 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3712, allocations: 0 / 0.562 GB, free: 13.88 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.002532/0.3738, allocations: 1.166 MB / 0.5632 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3738, allocations: 8.031 kB / 0.5632 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009018/0.3747, allocations: 212.7 kB / 0.5634 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.3755, allocations: 433.1 kB / 0.5638 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.3756, allocations: 54.38 kB / 0.5638 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3757, allocations: 68.94 kB / 0.5639 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3775, allocations: 1.115 MB / 0.565 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3775, allocations: 4 kB / 0.565 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.3775, allocations: 31.98 kB / 0.565 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3776, allocations: 16 kB / 0.565 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3797, allocations: 1.554 MB / 0.5666 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/0.3849, allocations: 3.005 MB / 0.5695 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3864, allocations: 0.8992 MB / 0.5704 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.387, allocations: 370.6 kB / 0.5707 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003634/0.3906, allocations: 1.833 MB / 0.5725 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3906, allocations: 39 kB / 0.5726 GB, free: 3.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.454e-06/0.3906, allocations: 0 / 0.5726 GB, free: 3.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01576/0.4064, allocations: 3.392 MB / 0.5759 GB, free: 15.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.4064, allocations: 60.06 kB / 0.5759 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4075, allocations: 0.7009 MB / 0.5766 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4076, allocations: 37.7 kB / 0.5766 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.4079, allocations: 364.4 kB / 0.577 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.4082, allocations: 249.8 kB / 0.5772 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.4084, allocations: 158.5 kB / 0.5774 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4087, allocations: 362.8 kB / 0.5777 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/0.4093, allocations: 461.8 kB / 0.5782 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.4102, allocations: 0.6042 MB / 0.5788 GB, free: 12.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.4116, allocations: 1.001 MB / 0.5797 GB, free: 11.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4116, allocations: 0 / 0.5797 GB, free: 11.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004058/0.4157, allocations: 1.437 MB / 0.5811 GB, free: 10.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4157, allocations: 10.66 kB / 0.5811 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.4158, allocations: 4 kB / 0.5811 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.4179, allocations: 274.3 kB / 0.5814 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.4187, allocations: 187.7 kB / 0.5816 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.4245, allocations: 3.765 MB / 0.5853 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.4253, allocations: 20 kB / 0.5853 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4254, allocations: 43.97 kB / 0.5853 GB, free: 5.582 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.0004734/0.4258, allocations: 202.3 kB / 0.5855 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4261, allocations: 67.52 kB / 0.5856 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.4299, allocations: 1.205 MB / 0.5868 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.4299, allocations: 8 kB / 0.5868 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.43, allocations: 0 / 0.5868 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.43, allocations: 3.984 kB / 0.5868 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.4353, allocations: 2.162 MB / 0.5889 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4353, allocations: 4 kB / 0.5889 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.4359, allocations: 140 kB / 0.589 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.438, allocations: 258.3 kB / 0.5893 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.438, allocations: 23.98 kB / 0.5893 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005374/0.4434, allocations: 3.712 MB / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4434, allocations: 0 / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.448, allocations: 1.678 MB / 0.5946 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.4483, allocations: 127.6 kB / 0.5947 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.4484, allocations: 19.94 kB / 0.5947 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.4489, allocations: 19.98 kB / 0.5947 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.449, allocations: 60.48 kB / 0.5948 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.4491, allocations: 24 kB / 0.5948 GB, free: 11.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006359/0.4497, allocations: 0.5147 MB / 0.5953 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4497, allocations: 0 / 0.5953 GB, free: 10.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001321/0.451, allocations: 450.8 kB / 0.5957 GB, free: 10.5 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.0009433/0.452, allocations: 0.5212 MB / 0.5962 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.454, allocations: 1.167 MB / 0.5974 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.454, allocations: 0 / 0.5974 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.4549, allocations: 0.6541 MB / 0.598 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.4558, allocations: 175.2 kB / 0.5982 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4585, allocations: 1.566 MB / 0.5997 GB, free: 6.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.459, allocations: 0.9109 MB / 0.6006 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004939/0.4595, allocations: 129 kB / 0.6007 GB, free: 5.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4598, allocations: 91.38 kB / 0.6008 GB, free: 5.168 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4598, allocations: 0 / 0.6008 GB, free: 5.168 MB / 446.1 MB Notification: Performance of Templates: time 0.03251/0.4923, allocations: 19.02 MB / 0.6194 GB, free: 2.211 MB / 462.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: 5.5698789707385] Failed to read output from testmodel.py, exit status != 0: 0.5011236458085477 0.516593515 0.14212328299999993 Calling exit ...