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.001613/0.001613, 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.001673/0.001673, allocations: 207 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.438/1.438, 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.1408/0.1408, 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.002078/0.002078, allocations: 63.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 59.86 MB / 0.5198 GB, free: 9.719 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.0703/0.4012, allocations: 24.94 MB / 0.5441 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.4145, allocations: 8.916 MB / 0.5528 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.4152, allocations: 15.88 kB / 0.5528 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.4159, allocations: 217.5 kB / 0.553 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4173, allocations: 0.5704 MB / 0.5536 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.4211, allocations: 1.461 MB / 0.555 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4224, allocations: 0.9582 MB / 0.556 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.4229, allocations: 430 kB / 0.5564 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.4234, allocations: 427.5 kB / 0.5568 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.4241, allocations: 480.8 kB / 0.5572 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.4242, allocations: 84 kB / 0.5573 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.4265, allocations: 1.012 MB / 0.5583 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.4268, allocations: 190 kB / 0.5585 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.4271, allocations: 369.4 kB / 0.5588 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.4303, allocations: 2.05 MB / 0.5608 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4303, allocations: 0 / 0.5608 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4303, allocations: 0 / 0.5608 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4303, allocations: 0 / 0.5608 GB, free: 15.53 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.002259/0.4325, allocations: 1.166 MB / 0.562 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4326, allocations: 8.828 kB / 0.562 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008958/0.4335, allocations: 211.9 kB / 0.5622 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.4343, allocations: 430 kB / 0.5626 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.4343, allocations: 54.31 kB / 0.5626 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.4344, allocations: 72.33 kB / 0.5627 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.4362, allocations: 1.117 MB / 0.5638 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4362, allocations: 4 kB / 0.5638 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.4362, allocations: 27.98 kB / 0.5638 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.4363, allocations: 16 kB / 0.5639 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.4384, allocations: 1.538 MB / 0.5654 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/0.4433, allocations: 2.569 MB / 0.5679 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.4449, allocations: 0.8952 MB / 0.5687 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.4455, allocations: 370.6 kB / 0.5691 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005338/0.4508, allocations: 1.724 MB / 0.5708 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.4509, allocations: 42.94 kB / 0.5708 GB, free: 5.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.795e-06/0.4509, allocations: 0 / 0.5708 GB, free: 5.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01746/0.4683, allocations: 3.383 MB / 0.5741 GB, free: 1.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4684, allocations: 64 kB / 0.5742 GB, free: 1.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.4693, allocations: 0.6696 MB / 0.5748 GB, free: 1.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.4693, allocations: 41.7 kB / 0.5749 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.4696, allocations: 356.3 kB / 0.5752 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.4698, allocations: 253.8 kB / 0.5755 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.4701, allocations: 158.6 kB / 0.5756 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4703, allocations: 362.8 kB / 0.576 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006933/0.471, allocations: 461.9 kB / 0.5764 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.4718, allocations: 0.6042 MB / 0.577 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.4732, allocations: 0.9971 MB / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4732, allocations: 0 / 0.578 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004311/0.4775, allocations: 1.437 MB / 0.5794 GB, free: 12.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4776, allocations: 8 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4776, allocations: 4 kB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.48, allocations: 270.2 kB / 0.5796 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.4808, allocations: 191.8 kB / 0.5798 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/0.4865, allocations: 3.684 MB / 0.5834 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.4871, allocations: 24 kB / 0.5834 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/0.4872, allocations: 47.91 kB / 0.5835 GB, free: 7.984 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.0003448/0.4875, allocations: 201.8 kB / 0.5837 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4877, allocations: 55.62 kB / 0.5837 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.4919, allocations: 1.201 MB / 0.5849 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4919, allocations: 15.94 kB / 0.5849 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4919, allocations: 0 / 0.5849 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4919, allocations: 3.984 kB / 0.5849 GB, free: 6.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.4973, allocations: 1.976 MB / 0.5868 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4973, allocations: 0 / 0.5868 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.498, allocations: 139.8 kB / 0.587 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.5004, allocations: 266.4 kB / 0.5872 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.5004, allocations: 23.98 kB / 0.5873 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.5058, allocations: 3.631 MB / 0.5908 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5058, allocations: 7.969 kB / 0.5908 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.5103, allocations: 1.674 MB / 0.5924 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.5107, allocations: 119.6 kB / 0.5926 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.5108, allocations: 16 kB / 0.5926 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.5112, allocations: 16 kB / 0.5926 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5113, allocations: 68.48 kB / 0.5927 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.5114, allocations: 27.92 kB / 0.5927 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.512, allocations: 499.1 kB / 0.5932 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.512, allocations: 0 / 0.5932 GB, free: 13.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001381/0.5133, allocations: 438.9 kB / 0.5936 GB, free: 13.26 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.0009814/0.5143, allocations: 0.5251 MB / 0.5941 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.5162, allocations: 1.166 MB / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5162, allocations: 0 / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.5172, allocations: 0.6586 MB / 0.5959 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.518, allocations: 166 kB / 0.596 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.5206, allocations: 1.558 MB / 0.5976 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.521, allocations: 310.6 kB / 0.5978 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004529/0.5214, allocations: 128.8 kB / 0.598 GB, free: 8.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.5217, allocations: 83.39 kB / 0.598 GB, free: 8.551 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5217, allocations: 4 kB / 0.5981 GB, free: 8.547 MB / 446.1 MB Notification: Performance of Templates: time 0.0312/0.5529, allocations: 19.63 MB / 0.6172 GB, free: 5.016 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 gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6316681030002655] Failed to read output from testmodel.py, exit status != 0: 0.5620001549978042 0.57563891 0.142343137 Calling exit ...