Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001759/0.001759, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002222/0.002222, allocations: 211.5 kB / 22.99 MB, free: 4.953 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1343/0.1343, allocations: 23.88 MB / 337.1 MB, free: 11.06 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002077/0.002077, allocations: 67.91 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.346, allocations: 59.86 MB / 0.5198 GB, free: 9.715 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.06816/0.4141, allocations: 25.03 MB / 0.5442 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.4268, allocations: 8.935 MB / 0.5529 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.4275, allocations: 7.938 kB / 0.5529 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.4282, allocations: 214.3 kB / 0.5531 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.4296, allocations: 0.573 MB / 0.5537 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.434, allocations: 1.462 MB / 0.5551 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.4353, allocations: 0.9437 MB / 0.556 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.4359, allocations: 433.7 kB / 0.5565 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.4364, allocations: 431.8 kB / 0.5569 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.4371, allocations: 484.3 kB / 0.5573 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.4372, allocations: 84 kB / 0.5574 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.4396, allocations: 1.008 MB / 0.5584 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.4398, allocations: 198 kB / 0.5586 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.4402, allocations: 357.5 kB / 0.5589 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.4435, allocations: 2.061 MB / 0.5609 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4435, allocations: 0 / 0.5609 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4435, allocations: 0 / 0.5609 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4435, allocations: 0 / 0.5609 GB, free: 15.48 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.00231/0.4459, allocations: 1.162 MB / 0.5621 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4459, allocations: 8.031 kB / 0.5621 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/0.4467, allocations: 213 kB / 0.5623 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000788/0.4475, allocations: 425.4 kB / 0.5627 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.4476, allocations: 58.31 kB / 0.5627 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.4477, allocations: 72.89 kB / 0.5628 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.4494, allocations: 1.118 MB / 0.5639 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4494, allocations: 0 / 0.5639 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.4495, allocations: 24 kB / 0.5639 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4495, allocations: 16 kB / 0.5639 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.4516, allocations: 1.542 MB / 0.5654 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.4563, allocations: 2.569 MB / 0.568 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.4579, allocations: 0.8991 MB / 0.5688 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.4584, allocations: 366.7 kB / 0.5692 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/0.4618, allocations: 1.724 MB / 0.5709 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.4619, allocations: 46.88 kB / 0.5709 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.954e-06/0.4619, allocations: 0 / 0.5709 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01374/0.4756, allocations: 3.375 MB / 0.5742 GB, free: 1.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4757, allocations: 64 kB / 0.5743 GB, free: 1.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.4765, allocations: 0.6813 MB / 0.5749 GB, free: 1.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.4766, allocations: 37.7 kB / 0.575 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.4768, allocations: 360.3 kB / 0.5753 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.4771, allocations: 249.8 kB / 0.5755 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.4773, allocations: 154.6 kB / 0.5757 GB, free: 396 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4775, allocations: 362.8 kB / 0.576 GB, free: 24 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.4782, allocations: 461.8 kB / 0.5765 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.479, allocations: 0.6003 MB / 0.5771 GB, free: 14.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.4804, allocations: 1.001 MB / 0.578 GB, free: 13.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4804, allocations: 0 / 0.578 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003787/0.4842, allocations: 1.433 MB / 0.5794 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.4843, allocations: 8 kB / 0.5795 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4843, allocations: 4 kB / 0.5795 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.4862, allocations: 278.2 kB / 0.5797 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.487, allocations: 187.8 kB / 0.5799 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.4923, allocations: 3.691 MB / 0.5835 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.4929, allocations: 24 kB / 0.5835 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/0.493, allocations: 43.92 kB / 0.5836 GB, free: 7.945 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.0003631/0.4933, allocations: 212.4 kB / 0.5838 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4935, allocations: 59.77 kB / 0.5838 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.497, allocations: 1.201 MB / 0.585 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.497, allocations: 11.94 kB / 0.585 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.497, allocations: 0 / 0.585 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.497, allocations: 7.984 kB / 0.585 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.5017, allocations: 1.972 MB / 0.5869 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5018, allocations: 0 / 0.5869 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.5023, allocations: 143.8 kB / 0.5871 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.5042, allocations: 258.5 kB / 0.5873 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.5042, allocations: 23.98 kB / 0.5874 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.5091, allocations: 3.635 MB / 0.5909 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.5091, allocations: 7.969 kB / 0.5909 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/0.5131, allocations: 1.674 MB / 0.5925 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.5135, allocations: 111.6 kB / 0.5927 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5136, allocations: 20 kB / 0.5927 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.514, allocations: 12 kB / 0.5927 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.5141, allocations: 64.48 kB / 0.5927 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.5142, allocations: 27.92 kB / 0.5928 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006062/0.5148, allocations: 499.1 kB / 0.5932 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5148, allocations: 0 / 0.5932 GB, free: 13.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5162, allocations: 446.8 kB / 0.5937 GB, free: 13.21 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.001259/0.5175, allocations: 0.533 MB / 0.5942 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.5195, allocations: 1.163 MB / 0.5953 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5195, allocations: 4 kB / 0.5953 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.5204, allocations: 0.6534 MB / 0.596 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.5213, allocations: 160.5 kB / 0.5961 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5239, allocations: 1.587 MB / 0.5977 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.5243, allocations: 314.6 kB / 0.598 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.5246, allocations: 111.4 kB / 0.5981 GB, free: 8.562 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5246, allocations: 0 / 0.5981 GB, free: 8.562 MB / 446.1 MB Notification: Performance of Templates: time 0.02901/0.5536, allocations: 21.85 MB / 0.6194 GB, free: 2.734 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.015111160988454] Failed to read output from testmodel.py, exit status != 0: 0.5630346179823391 0.5777710180000001 0.13115252300000002 Calling exit ...