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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001643/0.001643, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.785 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.99 MB / 336.4 MB, free: 10.91 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.002428/0.002428, allocations: 71.89 kB / 471.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3233, allocations: 59.9 MB / 0.5192 GB, free: 9.652 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.06822/0.3915, allocations: 25.1 MB / 0.5437 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.4051, allocations: 8.931 MB / 0.5525 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.4059, allocations: 11.88 kB / 0.5525 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.4068, allocations: 219.1 kB / 0.5527 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.4086, allocations: 0.57 MB / 0.5532 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.413, allocations: 1.46 MB / 0.5547 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.4145, allocations: 0.9551 MB / 0.5556 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006206/0.4152, allocations: 417.6 kB / 0.556 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.4157, allocations: 436.1 kB / 0.5564 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.4163, allocations: 420.8 kB / 0.5568 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.4165, allocations: 84 kB / 0.5569 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.4193, allocations: 0.988 MB / 0.5578 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.4195, allocations: 198 kB / 0.558 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.4199, allocations: 357.8 kB / 0.5584 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.4238, allocations: 2.057 MB / 0.5604 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4238, allocations: 0 / 0.5604 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4238, allocations: 0 / 0.5604 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4238, allocations: 0 / 0.5604 GB, free: 15.31 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.002071/0.4259, allocations: 1.162 MB / 0.5615 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4259, allocations: 8.734 kB / 0.5615 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.4267, allocations: 212.4 kB / 0.5617 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.4275, allocations: 428.9 kB / 0.5621 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.4275, allocations: 51.08 kB / 0.5622 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4277, allocations: 68.38 kB / 0.5623 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4293, allocations: 1.121 MB / 0.5634 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4293, allocations: 0 / 0.5634 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.4294, allocations: 28 kB / 0.5634 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.4294, allocations: 16 kB / 0.5634 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.4316, allocations: 1.538 MB / 0.5649 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.4363, allocations: 2.569 MB / 0.5674 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4378, allocations: 0.8947 MB / 0.5683 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.4383, allocations: 366.6 kB / 0.5686 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003544/0.4418, allocations: 1.72 MB / 0.5703 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.4419, allocations: 46.94 kB / 0.5704 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.514e-06/0.4419, allocations: 0 / 0.5704 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01384/0.4557, allocations: 3.391 MB / 0.5737 GB, free: 1.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.4558, allocations: 67.98 kB / 0.5737 GB, free: 1.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.4566, allocations: 0.6696 MB / 0.5744 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/0.4567, allocations: 37.7 kB / 0.5744 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.4569, allocations: 356.3 kB / 0.5748 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.4572, allocations: 257.8 kB / 0.575 GB, free: 332 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.4574, allocations: 158.6 kB / 0.5752 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4576, allocations: 362.8 kB / 0.5755 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.4583, allocations: 457.8 kB / 0.5759 GB, free: 15.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008079/0.4591, allocations: 0.6081 MB / 0.5765 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.4605, allocations: 0.997 MB / 0.5775 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4605, allocations: 4 kB / 0.5775 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003686/0.4642, allocations: 1.433 MB / 0.5789 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4642, allocations: 8 kB / 0.5789 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4642, allocations: 4 kB / 0.5789 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.4661, allocations: 270.2 kB / 0.5792 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.4669, allocations: 191.8 kB / 0.5794 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.4722, allocations: 3.68 MB / 0.583 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.4727, allocations: 28 kB / 0.583 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.4728, allocations: 40.14 kB / 0.583 GB, free: 7.727 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.0003526/0.4732, allocations: 209.6 kB / 0.5832 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.4733, allocations: 59.62 kB / 0.5833 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/0.4768, allocations: 1.197 MB / 0.5844 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4768, allocations: 11.94 kB / 0.5845 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4768, allocations: 0 / 0.5845 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4768, allocations: 7.984 kB / 0.5845 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.4815, allocations: 1.964 MB / 0.5864 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4815, allocations: 0 / 0.5864 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.482, allocations: 143.8 kB / 0.5865 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.4839, allocations: 262.5 kB / 0.5868 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.484, allocations: 19.98 kB / 0.5868 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/0.4889, allocations: 3.639 MB / 0.5903 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4889, allocations: 7.969 kB / 0.5903 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.4929, allocations: 1.674 MB / 0.592 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.4933, allocations: 111.6 kB / 0.5921 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.4934, allocations: 24 kB / 0.5921 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4938, allocations: 12 kB / 0.5921 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4939, allocations: 64.48 kB / 0.5922 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.494, allocations: 27.92 kB / 0.5922 GB, free: 13.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005668/0.4945, allocations: 0.499 MB / 0.5927 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4945, allocations: 0 / 0.5927 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00129/0.4958, allocations: 438.8 kB / 0.5931 GB, free: 13 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.0009942/0.4968, allocations: 0.5251 MB / 0.5936 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4988, allocations: 1.17 MB / 0.5948 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4988, allocations: 5.125 kB / 0.5948 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.4997, allocations: 0.6535 MB / 0.5954 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.5005, allocations: 163.1 kB / 0.5956 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.5031, allocations: 1.547 MB / 0.5971 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5035, allocations: 310.6 kB / 0.5974 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004721/0.504, allocations: 132.2 kB / 0.5975 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.5042, allocations: 91.38 kB / 0.5976 GB, free: 8.285 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5042, allocations: 0 / 0.5976 GB, free: 8.285 MB / 446.1 MB Notification: Performance of Templates: time 0.03098/0.5352, allocations: 19.41 MB / 0.6165 GB, free: 4.98 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497570659965277] Failed to read output from testmodel.py, exit status != 0: 0.5439037252217531 0.557951528 0.13108048 Calling exit ...