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.001351/0.001351, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001462/0.001462, allocations: 210.9 kB / 22.99 MB, free: 4.984 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1365/0.1365, allocations: 23.93 MB / 337.1 MB, free: 11.04 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.001999/0.001999, allocations: 71.89 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 59.88 MB / 0.5198 GB, free: 9.719 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.06816/0.3882, allocations: 24.93 MB / 0.5442 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.4007, allocations: 8.934 MB / 0.5529 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.4013, allocations: 15.88 kB / 0.5529 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.402, allocations: 219.4 kB / 0.5531 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.4035, allocations: 0.5581 MB / 0.5537 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003775/0.4073, allocations: 1.468 MB / 0.5551 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.4085, allocations: 0.947 MB / 0.556 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.4091, allocations: 433.9 kB / 0.5564 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.4095, allocations: 432.2 kB / 0.5569 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.4101, allocations: 472.2 kB / 0.5573 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.4103, allocations: 84 kB / 0.5574 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.4126, allocations: 1.012 MB / 0.5584 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.4128, allocations: 202.1 kB / 0.5586 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.4132, allocations: 357.4 kB / 0.5589 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.4167, allocations: 2.054 MB / 0.5609 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4167, allocations: 0 / 0.5609 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4167, allocations: 0 / 0.5609 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4168, allocations: 4 kB / 0.5609 GB, free: 15.5 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.002241/0.419, allocations: 1.155 MB / 0.562 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.419, allocations: 8.031 kB / 0.562 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.4199, allocations: 217.1 kB / 0.5623 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.4209, allocations: 436.4 kB / 0.5627 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.919e-05/0.4209, allocations: 51.03 kB / 0.5627 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.4211, allocations: 72.33 kB / 0.5628 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.4229, allocations: 1.115 MB / 0.5639 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4229, allocations: 0 / 0.5639 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.423, allocations: 24 kB / 0.5639 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.423, allocations: 20 kB / 0.5639 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.4251, allocations: 1.542 MB / 0.5654 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.4298, allocations: 2.561 MB / 0.5679 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.4313, allocations: 0.8991 MB / 0.5688 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.4318, allocations: 362.7 kB / 0.5692 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003509/0.4353, allocations: 1.724 MB / 0.5708 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.4353, allocations: 50.81 kB / 0.5709 GB, free: 5.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.4353, allocations: 0 / 0.5709 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01626/0.4516, allocations: 3.379 MB / 0.5742 GB, free: 1.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.4517, allocations: 60 kB / 0.5742 GB, free: 1.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.4525, allocations: 0.6774 MB / 0.5749 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.4526, allocations: 37.7 kB / 0.5749 GB, free: 1.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4529, allocations: 368.2 kB / 0.5753 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.4531, allocations: 249.9 kB / 0.5755 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.4534, allocations: 150.6 kB / 0.5757 GB, free: 428 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4536, allocations: 366.8 kB / 0.576 GB, free: 52 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.4542, allocations: 461.8 kB / 0.5765 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.455, allocations: 0.6042 MB / 0.5771 GB, free: 14.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4564, allocations: 0.9893 MB / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4564, allocations: 0 / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004096/0.4605, allocations: 1.444 MB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4605, allocations: 4 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4605, allocations: 4 kB / 0.5794 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/0.4628, allocations: 266.3 kB / 0.5797 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.4635, allocations: 195.6 kB / 0.5799 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.4691, allocations: 3.695 MB / 0.5835 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.4697, allocations: 20 kB / 0.5835 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.4698, allocations: 39.98 kB / 0.5835 GB, free: 7.98 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.0003821/0.4702, allocations: 201.8 kB / 0.5837 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4704, allocations: 59.77 kB / 0.5838 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.4744, allocations: 1.216 MB / 0.585 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4744, allocations: 7.938 kB / 0.585 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4744, allocations: 4 kB / 0.585 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4744, allocations: 3.984 kB / 0.585 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.4797, allocations: 1.972 MB / 0.5869 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4797, allocations: 0 / 0.5869 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.4803, allocations: 131.9 kB / 0.587 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.4826, allocations: 266.4 kB / 0.5873 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.4826, allocations: 23.98 kB / 0.5873 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/0.488, allocations: 3.635 MB / 0.5909 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.488, allocations: 3.938 kB / 0.5909 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.4925, allocations: 1.678 MB / 0.5925 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.4929, allocations: 123.6 kB / 0.5926 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.493, allocations: 12 kB / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.4934, allocations: 20 kB / 0.5927 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4935, allocations: 60.55 kB / 0.5927 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.4936, allocations: 31.92 kB / 0.5928 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005771/0.4942, allocations: 495.1 kB / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4942, allocations: 0 / 0.5932 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001271/0.4954, allocations: 434.9 kB / 0.5936 GB, free: 13.25 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.001027/0.4965, allocations: 0.5407 MB / 0.5942 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.4984, allocations: 1.17 MB / 0.5953 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4984, allocations: 0 / 0.5953 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.4994, allocations: 0.6586 MB / 0.596 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.5002, allocations: 159.6 kB / 0.5961 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.5029, allocations: 1.55 MB / 0.5976 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.5032, allocations: 314.6 kB / 0.5979 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.5037, allocations: 120.9 kB / 0.598 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.5039, allocations: 87.39 kB / 0.5981 GB, free: 8.535 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5039, allocations: 0 / 0.5981 GB, free: 8.535 MB / 446.1 MB Notification: Performance of Templates: time 0.03141/0.5353, allocations: 19.65 MB / 0.6173 GB, free: 4.988 MB / 462.1 MB " [Timeout remaining time 659] 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.523663857995416] Failed to read output from testmodel.py, exit status != 0: 0.5438020669971593 0.558866819 0.139023653 Calling exit ...