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.001347/0.001347, 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.002547/0.002547, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.552/1.552, 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 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.138/0.138, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002062/0.002062, allocations: 67.89 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3052, allocations: 59.86 MB / 0.5198 GB, free: 9.793 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.07056/0.3757, allocations: 25.09 MB / 0.5443 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.3897, allocations: 8.942 MB / 0.553 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.3904, allocations: 15.88 kB / 0.553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.3913, allocations: 214.5 kB / 0.5532 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.3932, allocations: 0.5648 MB / 0.5538 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.3975, allocations: 1.462 MB / 0.5552 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3991, allocations: 0.9466 MB / 0.5561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.3998, allocations: 433.5 kB / 0.5565 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.4003, allocations: 427.9 kB / 0.5569 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.401, allocations: 425.1 kB / 0.5573 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.4011, allocations: 84 kB / 0.5574 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4038, allocations: 0.9916 MB / 0.5584 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.404, allocations: 190.1 kB / 0.5586 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.4044, allocations: 365.9 kB / 0.5589 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.408, allocations: 2.051 MB / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.408, allocations: 0 / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.408, allocations: 0.7969 kB / 0.5609 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.408, allocations: 0 / 0.5609 GB, free: 15.45 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.002405/0.4104, allocations: 1.158 MB / 0.562 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4105, allocations: 12.72 kB / 0.5621 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.4113, allocations: 220.3 kB / 0.5623 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008008/0.4121, allocations: 425.4 kB / 0.5627 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.4122, allocations: 50.38 kB / 0.5627 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.4123, allocations: 77.27 kB / 0.5628 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.414, allocations: 1.115 MB / 0.5639 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.414, allocations: 0 / 0.5639 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.4141, allocations: 28 kB / 0.5639 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4141, allocations: 16 kB / 0.5639 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.4163, allocations: 1.546 MB / 0.5654 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.4212, allocations: 2.561 MB / 0.5679 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.4227, allocations: 0.8988 MB / 0.5688 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.4233, allocations: 366.7 kB / 0.5692 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003596/0.4269, allocations: 1.724 MB / 0.5708 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.4269, allocations: 46.94 kB / 0.5709 GB, free: 5.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.093e-06/0.4269, allocations: 0 / 0.5709 GB, free: 5.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01443/0.4413, allocations: 3.379 MB / 0.5742 GB, free: 1.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.4414, allocations: 71.94 kB / 0.5743 GB, free: 1.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.4423, allocations: 0.6735 MB / 0.5749 GB, free: 1.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.4423, allocations: 37.7 kB / 0.575 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.4426, allocations: 360.3 kB / 0.5753 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.4428, allocations: 249.8 kB / 0.5755 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.4431, allocations: 158.6 kB / 0.5757 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4433, allocations: 366.8 kB / 0.576 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.444, allocations: 453.8 kB / 0.5765 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/0.4448, allocations: 0.6003 MB / 0.5771 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4463, allocations: 1.001 MB / 0.578 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4463, allocations: 0 / 0.578 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003849/0.4501, allocations: 1.433 MB / 0.5794 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4502, allocations: 8 kB / 0.5794 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4502, allocations: 4 kB / 0.5794 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.4522, allocations: 270.3 kB / 0.5797 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.4529, allocations: 191.7 kB / 0.5799 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.4583, allocations: 3.688 MB / 0.5835 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.4589, allocations: 24.16 kB / 0.5835 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.459, allocations: 43.98 kB / 0.5836 GB, free: 7.906 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.0003626/0.4593, allocations: 205.6 kB / 0.5837 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4595, allocations: 55.62 kB / 0.5838 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.4631, allocations: 1.208 MB / 0.585 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4631, allocations: 11.94 kB / 0.585 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4631, allocations: 0 / 0.585 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4631, allocations: 3.984 kB / 0.585 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.4679, allocations: 1.968 MB / 0.5869 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4679, allocations: 4 kB / 0.5869 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.4685, allocations: 135.9 kB / 0.5871 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.4704, allocations: 262.4 kB / 0.5873 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.4704, allocations: 23.98 kB / 0.5873 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005068/0.4755, allocations: 3.643 MB / 0.5909 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4755, allocations: 4.031 kB / 0.5909 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.4796, allocations: 1.678 MB / 0.5925 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.48, allocations: 115.6 kB / 0.5926 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4801, allocations: 23.98 kB / 0.5927 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.4805, allocations: 12 kB / 0.5927 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.4807, allocations: 60.55 kB / 0.5927 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.4807, allocations: 23.94 kB / 0.5927 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006256/0.4813, allocations: 0.4912 MB / 0.5932 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4813, allocations: 0 / 0.5932 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001343/0.4827, allocations: 446.8 kB / 0.5937 GB, free: 13.17 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.001209/0.4839, allocations: 0.5289 MB / 0.5942 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.4861, allocations: 1.166 MB / 0.5953 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4861, allocations: 1.125 kB / 0.5953 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4871, allocations: 0.6575 MB / 0.596 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.4881, allocations: 155 kB / 0.5961 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.4909, allocations: 1.583 MB / 0.5976 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.4912, allocations: 318.6 kB / 0.598 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.4915, allocations: 107.4 kB / 0.5981 GB, free: 8.531 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4915, allocations: 4 kB / 0.5981 GB, free: 8.527 MB / 446.1 MB Notification: Performance of Templates: time 0.03179/0.5233, allocations: 21.86 MB / 0.6194 GB, free: 2.695 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: 9.603470434900373] Failed to read output from testmodel.py, exit status != 0: 0.5323175257071853 0.5477178619999999 0.136546537 Calling exit ...