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.001264/0.001264, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001283/0.001283, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 8.012 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.1259/0.1259, allocations: 23.86 MB / 336.3 MB, free: 11.16 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.00196/0.00196, allocations: 63.91 kB / 471.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 59.86 MB / 0.519 GB, free: 9.828 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.03431/0.3468, allocations: 25.33 MB / 0.5438 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3603, allocations: 10.19 MB / 0.5537 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.3612, allocations: 15.88 kB / 0.5538 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.3621, allocations: 238.7 kB / 0.554 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3637, allocations: 0.5777 MB / 0.5545 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.3675, allocations: 1.468 MB / 0.556 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3689, allocations: 0.9472 MB / 0.5569 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.3696, allocations: 440.3 kB / 0.5573 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.3701, allocations: 422.6 kB / 0.5577 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.3708, allocations: 481.3 kB / 0.5582 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.3709, allocations: 84 kB / 0.5583 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.3738, allocations: 1.05 MB / 0.5593 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.374, allocations: 198.2 kB / 0.5595 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.3744, allocations: 436.6 kB / 0.5599 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.3779, allocations: 2.054 MB / 0.5619 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3779, allocations: 4 kB / 0.5619 GB, free: 13.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3779, allocations: 0 / 0.5619 GB, free: 13.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3779, allocations: 4.609 kB / 0.5619 GB, free: 13.92 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.002213/0.3801, allocations: 1.158 MB / 0.563 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3802, allocations: 8.031 kB / 0.563 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.381, allocations: 212.7 kB / 0.5633 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.3818, allocations: 433.1 kB / 0.5637 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.3818, allocations: 50.38 kB / 0.5637 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3819, allocations: 72.98 kB / 0.5638 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.3836, allocations: 1.118 MB / 0.5649 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3836, allocations: 0 / 0.5649 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.3837, allocations: 24 kB / 0.5649 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3837, allocations: 16 kB / 0.5649 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.3858, allocations: 1.558 MB / 0.5664 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/0.3908, allocations: 3.005 MB / 0.5694 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.3923, allocations: 0.9069 MB / 0.5703 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.3928, allocations: 366.7 kB / 0.5706 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003551/0.3963, allocations: 1.837 MB / 0.5724 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.3964, allocations: 43 kB / 0.5724 GB, free: 3.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.753e-06/0.3964, allocations: 0 / 0.5724 GB, free: 3.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01497/0.4114, allocations: 3.387 MB / 0.5757 GB, free: 15.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4114, allocations: 56.06 kB / 0.5758 GB, free: 15.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.4123, allocations: 0.7087 MB / 0.5765 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.4123, allocations: 41.64 kB / 0.5765 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.4126, allocations: 356.4 kB / 0.5769 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.4128, allocations: 253.8 kB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.4131, allocations: 154.5 kB / 0.5773 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4133, allocations: 366.8 kB / 0.5776 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.414, allocations: 457.8 kB / 0.578 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.4148, allocations: 0.6042 MB / 0.5786 GB, free: 12.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4162, allocations: 1.001 MB / 0.5796 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4162, allocations: 0 / 0.5796 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004007/0.4202, allocations: 1.436 MB / 0.581 GB, free: 10.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.4202, allocations: 8 kB / 0.581 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4202, allocations: 4 kB / 0.581 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.4223, allocations: 270.3 kB / 0.5813 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.4231, allocations: 191.7 kB / 0.5815 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.4285, allocations: 3.767 MB / 0.5851 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.4291, allocations: 27.98 kB / 0.5852 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.4292, allocations: 35.98 kB / 0.5852 GB, free: 5.633 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.0003412/0.4296, allocations: 206.3 kB / 0.5854 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.4297, allocations: 67.52 kB / 0.5855 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.4336, allocations: 1.201 MB / 0.5866 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.4336, allocations: 8 kB / 0.5867 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4336, allocations: 7.984 kB / 0.5867 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4336, allocations: 0 / 0.5867 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.4387, allocations: 2.162 MB / 0.5888 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4387, allocations: 0 / 0.5888 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.4393, allocations: 136.1 kB / 0.5889 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.4414, allocations: 266.2 kB / 0.5892 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.4414, allocations: 23.98 kB / 0.5892 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005207/0.4466, allocations: 3.704 MB / 0.5928 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4466, allocations: 4.031 kB / 0.5928 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004273/0.4509, allocations: 1.682 MB / 0.5944 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.4512, allocations: 119.6 kB / 0.5946 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4513, allocations: 19.92 kB / 0.5946 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.4518, allocations: 20 kB / 0.5946 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4519, allocations: 56.55 kB / 0.5946 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.4519, allocations: 27.98 kB / 0.5947 GB, free: 11.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006126/0.4526, allocations: 0.5108 MB / 0.5952 GB, free: 11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4526, allocations: 0 / 0.5952 GB, free: 11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4539, allocations: 450.8 kB / 0.5956 GB, free: 10.56 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.001231/0.4551, allocations: 0.5291 MB / 0.5961 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.457, allocations: 1.175 MB / 0.5973 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.457, allocations: 0 / 0.5973 GB, free: 8.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.458, allocations: 0.6582 MB / 0.5979 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.4588, allocations: 164.4 kB / 0.5981 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4614, allocations: 1.562 MB / 0.5996 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.462, allocations: 0.9149 MB / 0.6005 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.4624, allocations: 128.5 kB / 0.6006 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.4627, allocations: 99.31 kB / 0.6007 GB, free: 5.211 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4627, allocations: 0 / 0.6007 GB, free: 5.211 MB / 446.1 MB Notification: Performance of Templates: time 0.03024/0.4929, allocations: 19 MB / 0.6193 GB, free: 2.266 MB / 462.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.214609622955322] Failed to read output from testmodel.py, exit status != 0: 0.5012814020738006 0.5151820570000001 0.134296201 Calling exit ...