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.001361/0.001361, 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.001482/0.001482, allocations: 213.5 kB / 22.99 MB, free: 4.957 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1302/0.1302, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.002027/0.002027, allocations: 71.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 59.86 MB / 0.5197 GB, free: 9.84 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.0679/0.383, allocations: 24.94 MB / 0.5441 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.3954, allocations: 8.93 MB / 0.5528 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.396, allocations: 15.88 kB / 0.5528 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.3966, allocations: 209.9 kB / 0.553 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.398, allocations: 0.5678 MB / 0.5536 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.4017, allocations: 1.463 MB / 0.555 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.4029, allocations: 0.9477 MB / 0.5559 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.4035, allocations: 437.8 kB / 0.5564 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.4039, allocations: 431.7 kB / 0.5568 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.4045, allocations: 480.9 kB / 0.5572 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.4047, allocations: 84 kB / 0.5573 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.4069, allocations: 1.008 MB / 0.5583 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.4071, allocations: 189.4 kB / 0.5585 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.4075, allocations: 369.6 kB / 0.5588 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.4105, allocations: 2.047 MB / 0.5608 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4105, allocations: 0 / 0.5608 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4105, allocations: 0 / 0.5608 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4105, allocations: 0 / 0.5608 GB, free: 15.51 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.002271/0.4128, allocations: 1.17 MB / 0.562 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4129, allocations: 8.922 kB / 0.562 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.4137, allocations: 215.9 kB / 0.5622 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.4145, allocations: 429.8 kB / 0.5626 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.4145, allocations: 50.38 kB / 0.5626 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4146, allocations: 72.33 kB / 0.5627 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.4164, allocations: 1.119 MB / 0.5638 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4164, allocations: 0 / 0.5638 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.4164, allocations: 24 kB / 0.5638 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.4165, allocations: 16 kB / 0.5638 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.4186, allocations: 1.546 MB / 0.5654 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/0.4235, allocations: 2.561 MB / 0.5679 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.4253, allocations: 0.8988 MB / 0.5687 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007345/0.4261, allocations: 366.7 kB / 0.5691 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004839/0.4309, allocations: 1.728 MB / 0.5708 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.4309, allocations: 46.88 kB / 0.5708 GB, free: 5.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.795e-06/0.4309, allocations: 0 / 0.5708 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.021/0.4519, allocations: 3.379 MB / 0.5741 GB, free: 1.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.452, allocations: 68 kB / 0.5742 GB, free: 1.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4532, allocations: 0.6735 MB / 0.5748 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.4533, allocations: 41.7 kB / 0.5749 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.4536, allocations: 360.3 kB / 0.5752 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.4539, allocations: 245.9 kB / 0.5755 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.4543, allocations: 150.6 kB / 0.5756 GB, free: 432 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.4546, allocations: 370.8 kB / 0.576 GB, free: 52 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4556, allocations: 461.8 kB / 0.5764 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.4568, allocations: 0.6042 MB / 0.577 GB, free: 14.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.4589, allocations: 0.9971 MB / 0.578 GB, free: 13.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4589, allocations: 0 / 0.578 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00584/0.4648, allocations: 1.433 MB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.4648, allocations: 8 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4648, allocations: 4 kB / 0.5794 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/0.4677, allocations: 274.2 kB / 0.5796 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.4686, allocations: 191.7 kB / 0.5798 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/0.4741, allocations: 3.698 MB / 0.5834 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.4747, allocations: 24 kB / 0.5834 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-05/0.4748, allocations: 39.98 kB / 0.5835 GB, free: 7.969 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.0003549/0.4752, allocations: 197.7 kB / 0.5837 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.4754, allocations: 55.62 kB / 0.5837 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.4794, allocations: 1.212 MB / 0.5849 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4794, allocations: 11.94 kB / 0.5849 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4795, allocations: 0 / 0.5849 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.4795, allocations: 3.984 kB / 0.5849 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.4847, allocations: 1.964 MB / 0.5868 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4847, allocations: 4 kB / 0.5868 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.4853, allocations: 143.8 kB / 0.587 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.4876, allocations: 262.5 kB / 0.5872 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.4877, allocations: 23.98 kB / 0.5873 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.4931, allocations: 3.635 MB / 0.5908 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4931, allocations: 7.969 kB / 0.5908 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/0.4976, allocations: 1.678 MB / 0.5925 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.498, allocations: 119.6 kB / 0.5926 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.4981, allocations: 20 kB / 0.5926 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.4985, allocations: 12 kB / 0.5926 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4986, allocations: 64.48 kB / 0.5927 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.4987, allocations: 27.92 kB / 0.5927 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005626/0.4993, allocations: 495.1 kB / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4993, allocations: 0 / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001399/0.5007, allocations: 442.9 kB / 0.5936 GB, free: 13.24 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.001009/0.5017, allocations: 0.5352 MB / 0.5941 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.5036, allocations: 1.16 MB / 0.5952 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5036, allocations: 4.188 kB / 0.5952 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009503/0.5046, allocations: 0.6532 MB / 0.5959 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.5054, allocations: 153.8 kB / 0.596 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.508, allocations: 1.558 MB / 0.5975 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5084, allocations: 318.6 kB / 0.5978 GB, free: 8.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.5088, allocations: 120.8 kB / 0.598 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.509, allocations: 87.39 kB / 0.598 GB, free: 8.531 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.509, allocations: 0 / 0.598 GB, free: 8.531 MB / 446.1 MB Notification: Performance of Templates: time 0.03111/0.5402, allocations: 19.64 MB / 0.6172 GB, free: 4.996 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.546513533001416] Failed to read output from testmodel.py, exit status != 0: 0.5484602189972065 0.562775508 0.14923855800000002 Calling exit ...