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.001943/0.001943, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.002336/0.002336, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1477/0.1477, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002102/0.002102, allocations: 63.89 kB / 466.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 59.82 MB / 0.5139 GB, free: 9.082 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.04106/0.3919, allocations: 25.08 MB / 0.5384 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.4064, allocations: 10.16 MB / 0.5484 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.4072, allocations: 11.88 kB / 0.5484 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.4081, allocations: 243.2 kB / 0.5486 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.4098, allocations: 0.5795 MB / 0.5492 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005387/0.4152, allocations: 1.444 MB / 0.5506 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.4173, allocations: 0.9516 MB / 0.5515 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006876/0.4179, allocations: 433.2 kB / 0.5519 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.4185, allocations: 426.8 kB / 0.5523 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.4192, allocations: 484.2 kB / 0.5528 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.4193, allocations: 87.94 kB / 0.5529 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.4228, allocations: 1.046 MB / 0.5539 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.423, allocations: 190.1 kB / 0.5541 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.4235, allocations: 441.1 kB / 0.5545 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.4285, allocations: 2.057 MB / 0.5565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4285, allocations: 3.938 kB / 0.5565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4286, allocations: 4 kB / 0.5565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.4286, allocations: 0 / 0.5565 GB, free: 15.14 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.002835/0.4314, allocations: 1.237 MB / 0.5577 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4315, allocations: 8.688 kB / 0.5577 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009452/0.4324, allocations: 212.7 kB / 0.5579 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.4333, allocations: 0.489 MB / 0.5584 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.4333, allocations: 46.38 kB / 0.5585 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.4335, allocations: 77.31 kB / 0.5585 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4353, allocations: 1.082 MB / 0.5596 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.4354, allocations: 0 / 0.5596 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.733e-05/0.4354, allocations: 32 kB / 0.5596 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.4355, allocations: 16 kB / 0.5596 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.4379, allocations: 1.515 MB / 0.5611 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.4434, allocations: 3.01 MB / 0.5641 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.445, allocations: 0.962 MB / 0.565 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.4456, allocations: 354.9 kB / 0.5653 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004195/0.4498, allocations: 2.465 MB / 0.5677 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4498, allocations: 35 kB / 0.5678 GB, free: 3.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.4498, allocations: 4 kB / 0.5678 GB, free: 3.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.016/0.4658, allocations: 3.498 MB / 0.5712 GB, free: 184 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4659, allocations: 59.97 kB / 0.5712 GB, free: 112 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4669, allocations: 0.6931 MB / 0.5719 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.978e-05/0.467, allocations: 37.7 kB / 0.572 GB, free: 15.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.4673, allocations: 364.4 kB / 0.5723 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.4676, allocations: 245.9 kB / 0.5725 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.4679, allocations: 154.5 kB / 0.5727 GB, free: 14.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4681, allocations: 370.8 kB / 0.573 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.4689, allocations: 445.8 kB / 0.5735 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.4697, allocations: 0.5847 MB / 0.574 GB, free: 13.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4713, allocations: 0.9693 MB / 0.575 GB, free: 12.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4713, allocations: 8 kB / 0.575 GB, free: 12.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004243/0.4755, allocations: 1.409 MB / 0.5764 GB, free: 10.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4756, allocations: 4 kB / 0.5764 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4756, allocations: 4 kB / 0.5764 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.4778, allocations: 266.3 kB / 0.5766 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.4787, allocations: 191.7 kB / 0.5768 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/0.4849, allocations: 3.971 MB / 0.5807 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.4856, allocations: 24 kB / 0.5807 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.4857, allocations: 35.98 kB / 0.5807 GB, free: 5.898 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.0004337/0.4862, allocations: 205.8 kB / 0.5809 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4864, allocations: 67.52 kB / 0.581 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.4904, allocations: 1.205 MB / 0.5822 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4904, allocations: 8 kB / 0.5822 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4904, allocations: 0 / 0.5822 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4904, allocations: 3.984 kB / 0.5822 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005357/0.4958, allocations: 2.165 MB / 0.5843 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4958, allocations: 0 / 0.5843 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/0.4964, allocations: 140 kB / 0.5844 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.4985, allocations: 254.3 kB / 0.5847 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.4985, allocations: 23.98 kB / 0.5847 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.5043, allocations: 3.914 MB / 0.5885 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5043, allocations: 4.031 kB / 0.5885 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/0.5088, allocations: 1.646 MB / 0.5901 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.5092, allocations: 196.7 kB / 0.5903 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.5095, allocations: 23.92 kB / 0.5904 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.51, allocations: 20 kB / 0.5904 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5101, allocations: 56.66 kB / 0.5904 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.5102, allocations: 24 kB / 0.5905 GB, free: 11.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.5109, allocations: 0.5108 MB / 0.591 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5109, allocations: 0 / 0.591 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001492/0.5124, allocations: 438.8 kB / 0.5914 GB, free: 10.53 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.001381/0.5138, allocations: 0.5443 MB / 0.5919 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.5161, allocations: 1.147 MB / 0.593 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.5161, allocations: 4 kB / 0.593 GB, free: 8.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.5173, allocations: 0.637 MB / 0.5936 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5184, allocations: 168.7 kB / 0.5938 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.5215, allocations: 1.544 MB / 0.5953 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.5222, allocations: 0.9186 MB / 0.5962 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.5228, allocations: 129 kB / 0.5963 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.5231, allocations: 91.38 kB / 0.5964 GB, free: 5.219 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5231, allocations: 0 / 0.5964 GB, free: 5.219 MB / 446.1 MB Notification: Performance of Templates: time 0.0341/0.5572, allocations: 18.45 MB / 0.6144 GB, free: 2.832 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: 5.846654701977968] Failed to read output from testmodel.py, exit status != 0: 0.5658706538379192 0.5789582249999999 0.147383078 Calling exit ...