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.00132/0.00132, 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.001477/0.001477, allocations: 207.8 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1278/0.1278, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002008/0.002008, allocations: 63.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.278, allocations: 59.88 MB / 0.5198 GB, free: 9.844 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.06426/0.3423, allocations: 24.93 MB / 0.5442 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3544, allocations: 8.935 MB / 0.5529 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.3549, allocations: 11.88 kB / 0.5529 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.3555, allocations: 214.8 kB / 0.5531 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3567, allocations: 0.57 MB / 0.5537 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.36, allocations: 1.461 MB / 0.5551 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3611, allocations: 0.955 MB / 0.556 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.3616, allocations: 429.8 kB / 0.5564 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.3621, allocations: 427.7 kB / 0.5568 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.3627, allocations: 476.6 kB / 0.5573 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3628, allocations: 88 kB / 0.5574 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.3649, allocations: 1.008 MB / 0.5584 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.3651, allocations: 197.9 kB / 0.5586 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.3655, allocations: 361.4 kB / 0.5589 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.3684, allocations: 2.051 MB / 0.5609 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3684, allocations: 0 / 0.5609 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3684, allocations: 4 kB / 0.5609 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3684, allocations: 0 / 0.5609 GB, free: 15.46 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.00222/0.3706, allocations: 1.17 MB / 0.5621 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3706, allocations: 8.031 kB / 0.5621 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.3715, allocations: 208.7 kB / 0.5623 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.3722, allocations: 437.1 kB / 0.5627 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.3723, allocations: 50.98 kB / 0.5627 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3724, allocations: 72.33 kB / 0.5628 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.3741, allocations: 1.113 MB / 0.5639 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.3741, allocations: 7.984 kB / 0.5639 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.3742, allocations: 24 kB / 0.5639 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.3742, allocations: 16 kB / 0.5639 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.3763, allocations: 1.546 MB / 0.5654 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.381, allocations: 2.557 MB / 0.5679 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.3824, allocations: 0.8952 MB / 0.5688 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.3829, allocations: 366.7 kB / 0.5692 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00345/0.3864, allocations: 1.72 MB / 0.5708 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.3864, allocations: 46.81 kB / 0.5709 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.843e-06/0.3864, allocations: 0 / 0.5709 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01595/0.4024, allocations: 3.383 MB / 0.5742 GB, free: 1.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4024, allocations: 64 kB / 0.5742 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/0.4032, allocations: 0.6696 MB / 0.5749 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.4032, allocations: 41.7 kB / 0.5749 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.4035, allocations: 360.3 kB / 0.5753 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.4037, allocations: 249.8 kB / 0.5755 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.404, allocations: 150.6 kB / 0.5757 GB, free: 380 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4041, allocations: 362.8 kB / 0.576 GB, free: 8 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000662/0.4048, allocations: 465.9 kB / 0.5765 GB, free: 15.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.4056, allocations: 0.6081 MB / 0.577 GB, free: 14.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.407, allocations: 0.9971 MB / 0.578 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.407, allocations: 4 kB / 0.578 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004121/0.4111, allocations: 1.436 MB / 0.5794 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4111, allocations: 8 kB / 0.5794 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4111, allocations: 4 kB / 0.5794 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/0.4134, allocations: 274.2 kB / 0.5797 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.4141, allocations: 191.7 kB / 0.5799 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.4196, allocations: 3.688 MB / 0.5835 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.4202, allocations: 27.98 kB / 0.5835 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.4203, allocations: 35.98 kB / 0.5835 GB, free: 7.918 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.0003199/0.4206, allocations: 201.7 kB / 0.5837 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4207, allocations: 59.78 kB / 0.5838 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.4248, allocations: 1.208 MB / 0.585 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4248, allocations: 11.94 kB / 0.585 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4248, allocations: 0 / 0.585 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4248, allocations: 7.984 kB / 0.585 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.4299, allocations: 1.96 MB / 0.5869 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4299, allocations: 4 kB / 0.5869 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.4305, allocations: 140 kB / 0.587 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.4328, allocations: 258.3 kB / 0.5873 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.4328, allocations: 27.98 kB / 0.5873 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/0.438, allocations: 3.639 MB / 0.5909 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.438, allocations: 3.938 kB / 0.5909 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/0.4424, allocations: 1.674 MB / 0.5925 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.4427, allocations: 119.6 kB / 0.5926 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.4427, allocations: 16 kB / 0.5926 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.4432, allocations: 23.94 kB / 0.5927 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4433, allocations: 56.55 kB / 0.5927 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.4434, allocations: 31.92 kB / 0.5927 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.4439, allocations: 0.4913 MB / 0.5932 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4439, allocations: 0 / 0.5932 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4452, allocations: 438.9 kB / 0.5936 GB, free: 13.19 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.0009485/0.4461, allocations: 0.5289 MB / 0.5942 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.448, allocations: 1.167 MB / 0.5953 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.448, allocations: 0 / 0.5953 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009333/0.4489, allocations: 0.6544 MB / 0.5959 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.4497, allocations: 155.7 kB / 0.5961 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.4522, allocations: 1.566 MB / 0.5976 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4525, allocations: 314.6 kB / 0.5979 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.4529, allocations: 124.8 kB / 0.598 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.4531, allocations: 83.39 kB / 0.5981 GB, free: 8.477 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4531, allocations: 0 / 0.5981 GB, free: 8.477 MB / 446.1 MB Notification: Performance of Templates: time 0.03064/0.4838, allocations: 19.65 MB / 0.6173 GB, free: 4.93 MB / 462.1 MB " [Timeout remaining time 660] 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.264491952009848] Failed to read output from testmodel.py, exit status != 0: 0.492160887006321 0.505857765 0.13453942400000002 Calling exit ...