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.001671/0.001671, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001898/0.001898, allocations: 214.4 kB / 23.01 MB, free: 4.566 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.1386/0.1386, allocations: 23.9 MB / 337.1 MB, free: 11.19 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.002034/0.002034, allocations: 59.91 kB / 472.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 59.87 MB / 0.5199 GB, free: 9.859 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.03947/0.3757, allocations: 25.42 MB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.3901, allocations: 10.19 MB / 0.5547 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.391, allocations: 7.938 kB / 0.5547 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.3919, allocations: 243.3 kB / 0.5549 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.3936, allocations: 0.5856 MB / 0.5555 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.398, allocations: 1.468 MB / 0.5569 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.3996, allocations: 0.944 MB / 0.5578 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.4003, allocations: 428.3 kB / 0.5582 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.4009, allocations: 431 kB / 0.5586 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.4017, allocations: 472.6 kB / 0.5591 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.4018, allocations: 84 kB / 0.5592 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.4056, allocations: 1.051 MB / 0.5602 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.406, allocations: 202 kB / 0.5604 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.4066, allocations: 425.2 kB / 0.5608 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.4127, allocations: 2.062 MB / 0.5628 GB, free: 13.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4127, allocations: 4 kB / 0.5628 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4127, allocations: 0 / 0.5628 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.4128, allocations: 7.875 kB / 0.5628 GB, free: 13.82 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.002646/0.4154, allocations: 1.162 MB / 0.564 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4155, allocations: 8.031 kB / 0.564 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.4163, allocations: 208.6 kB / 0.5642 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.4172, allocations: 433 kB / 0.5646 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.4172, allocations: 55.22 kB / 0.5646 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4173, allocations: 76.27 kB / 0.5647 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.419, allocations: 1.113 MB / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4191, allocations: 0 / 0.5658 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.4191, allocations: 28 kB / 0.5658 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.4191, allocations: 16 kB / 0.5658 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.4212, allocations: 1.55 MB / 0.5673 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.4265, allocations: 3.013 MB / 0.5703 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.428, allocations: 0.8992 MB / 0.5712 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.4285, allocations: 366.7 kB / 0.5715 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003663/0.4322, allocations: 1.837 MB / 0.5733 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.4322, allocations: 39 kB / 0.5733 GB, free: 3.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.4322, allocations: 0 / 0.5733 GB, free: 3.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01543/0.4477, allocations: 3.391 MB / 0.5767 GB, free: 15.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.4477, allocations: 64.05 kB / 0.5767 GB, free: 15.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.4487, allocations: 0.7009 MB / 0.5774 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.4487, allocations: 45.7 kB / 0.5774 GB, free: 14.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.449, allocations: 356.4 kB / 0.5778 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.4492, allocations: 245.9 kB / 0.578 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.4495, allocations: 154.5 kB / 0.5782 GB, free: 14.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4497, allocations: 374.8 kB / 0.5785 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.4504, allocations: 461.8 kB / 0.579 GB, free: 13.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.4512, allocations: 0.6042 MB / 0.5796 GB, free: 12.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.4526, allocations: 0.9971 MB / 0.5805 GB, free: 11.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4526, allocations: 0 / 0.5805 GB, free: 11.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004007/0.4566, allocations: 1.433 MB / 0.5819 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4566, allocations: 8 kB / 0.5819 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4566, allocations: 4 kB / 0.5819 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.4588, allocations: 270.2 kB / 0.5822 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/0.4596, allocations: 183.8 kB / 0.5824 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.4651, allocations: 3.765 MB / 0.586 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/0.4658, allocations: 20 kB / 0.5861 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.4659, allocations: 43.98 kB / 0.5861 GB, free: 5.547 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.0003649/0.4662, allocations: 206.3 kB / 0.5863 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4664, allocations: 67.52 kB / 0.5864 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/0.4713, allocations: 1.213 MB / 0.5876 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4713, allocations: 8 kB / 0.5876 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4713, allocations: 0 / 0.5876 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.4713, allocations: 3.984 kB / 0.5876 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007632/0.4789, allocations: 2.155 MB / 0.5897 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.479, allocations: 4 kB / 0.5897 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000886/0.4798, allocations: 144 kB / 0.5898 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.4827, allocations: 262.3 kB / 0.5901 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.4828, allocations: 16 kB / 0.5901 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007527/0.4903, allocations: 3.723 MB / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4903, allocations: 0 / 0.5937 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006238/0.4965, allocations: 1.682 MB / 0.5954 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.4971, allocations: 119.6 kB / 0.5955 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4972, allocations: 23.94 kB / 0.5955 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.4978, allocations: 12 kB / 0.5955 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.498, allocations: 56.55 kB / 0.5956 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.4981, allocations: 27.98 kB / 0.5956 GB, free: 11.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009702/0.4991, allocations: 0.5186 MB / 0.5961 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4991, allocations: 0 / 0.5961 GB, free: 10.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00248/0.5015, allocations: 446.8 kB / 0.5965 GB, free: 10.46 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.001998/0.5035, allocations: 0.5212 MB / 0.597 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.5071, allocations: 1.175 MB / 0.5982 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5071, allocations: 0 / 0.5982 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.5089, allocations: 0.6542 MB / 0.5988 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.5106, allocations: 180 kB / 0.599 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.5154, allocations: 1.584 MB / 0.6005 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009821/0.5163, allocations: 0.911 MB / 0.6014 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/0.5169, allocations: 111.4 kB / 0.6015 GB, free: 5.195 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5169, allocations: 0 / 0.6015 GB, free: 5.195 MB / 446.1 MB Notification: Performance of Templates: time 0.05237/0.5693, allocations: 21.77 MB / 0.6228 GB, free: 15.46 MB / 478.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.77432315799524] Failed to read output from testmodel.py, exit status != 0: 0.5793993410188705 0.5960861940000001 0.179735948 Calling exit ...