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.001303/0.001303, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.001313/0.001313, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9547/0.9547, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.09607/0.09607, allocations: 17.37 MB / 277.4 MB, free: 11.88 MB / 266.7 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.001056/0.001056, allocations: 67.89 kB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2625, allocations: 59.84 MB / 472.7 MB, free: 29.82 MB / 410.7 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.02495/0.2875, allocations: 25.23 MB / 497.9 MB, free: 20.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006556/0.294, allocations: 8.949 MB / 0.495 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.2943, allocations: 7.938 kB / 0.495 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.2948, allocations: 214.2 kB / 0.4952 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.2955, allocations: 0.57 MB / 0.4957 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.2971, allocations: 1.465 MB / 0.4972 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.2976, allocations: 0.9431 MB / 0.4981 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.298, allocations: 430.4 kB / 0.4985 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.2984, allocations: 0.6254 MB / 0.4991 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2987, allocations: 420.8 kB / 0.4995 GB, free: 9.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.2987, allocations: 84 kB / 0.4996 GB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.2999, allocations: 0.9961 MB / 0.5006 GB, free: 8.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3, allocations: 193.7 kB / 0.5007 GB, free: 8.594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.3002, allocations: 366 kB / 0.5011 GB, free: 8.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3019, allocations: 2.058 MB / 0.5031 GB, free: 6.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.302, allocations: 3.938 kB / 0.5031 GB, free: 6.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.302, allocations: 4 kB / 0.5031 GB, free: 6.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.302, allocations: 0 / 0.5031 GB, free: 6.609 MB / 410.7 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.001245/0.3032, allocations: 1.155 MB / 0.5042 GB, free: 5.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3033, allocations: 12.03 kB / 0.5042 GB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004952/0.3037, allocations: 208.2 kB / 0.5044 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3042, allocations: 437.2 kB / 0.5049 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.3043, allocations: 50.89 kB / 0.5049 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.252e-05/0.3043, allocations: 73.12 kB / 0.505 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3053, allocations: 1.113 MB / 0.5061 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3054, allocations: 0 / 0.5061 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.3054, allocations: 28 kB / 0.5061 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3054, allocations: 16 kB / 0.5061 GB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3067, allocations: 1.541 MB / 0.5076 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.3096, allocations: 2.579 MB / 0.5101 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3106, allocations: 0.9011 MB / 0.511 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.311, allocations: 362.7 kB / 0.5114 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.313, allocations: 1.716 MB / 0.513 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.313, allocations: 46.94 kB / 0.5131 GB, free: 13.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 1.743e-06/0.313, allocations: 0 / 0.5131 GB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=68): time 0.007421/0.3205, allocations: 3.394 MB / 0.5164 GB, free: 10.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3205, allocations: 64.52 kB / 0.5165 GB, free: 10.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.321, allocations: 0.6762 MB / 0.5171 GB, free: 9.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.3211, allocations: 33.7 kB / 0.5171 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.3212, allocations: 361.2 kB / 0.5175 GB, free: 9.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.3214, allocations: 251.2 kB / 0.5177 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.3216, allocations: 155.2 kB / 0.5179 GB, free: 9.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3217, allocations: 360.4 kB / 0.5182 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.3222, allocations: 460.6 kB / 0.5187 GB, free: 8.457 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.3227, allocations: 0.6052 MB / 0.5193 GB, free: 7.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.3236, allocations: 0.9949 MB / 0.5202 GB, free: 6.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3236, allocations: 4 kB / 0.5202 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002135/0.3258, allocations: 1.433 MB / 0.5216 GB, free: 5.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3258, allocations: 4 kB / 0.5216 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3258, allocations: 8 kB / 0.5216 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/0.3267, allocations: 270.2 kB / 0.5219 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.3271, allocations: 187.8 kB / 0.5221 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.3301, allocations: 3.7 MB / 0.5257 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3303, allocations: 20 kB / 0.5257 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.3304, allocations: 39.98 kB / 0.5257 GB, free: 1.074 MB / 426.7 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.0002041/0.3306, allocations: 205.6 kB / 0.5259 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.3306, allocations: 59.78 kB / 0.526 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.3325, allocations: 1.212 MB / 0.5272 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3325, allocations: 11.94 kB / 0.5272 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3325, allocations: 0 / 0.5272 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.3325, allocations: 3.984 kB / 0.5272 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.3351, allocations: 1.964 MB / 0.5291 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3351, allocations: 0 / 0.5291 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.3354, allocations: 144 kB / 0.5293 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008799/0.3363, allocations: 258.2 kB / 0.5295 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.3363, allocations: 23.98 kB / 0.5295 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.3389, allocations: 3.643 MB / 0.5331 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3389, allocations: 0 / 0.5331 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.341, allocations: 1.682 MB / 0.5347 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.3412, allocations: 119.5 kB / 0.5348 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.3412, allocations: 19.98 kB / 0.5349 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3414, allocations: 16 kB / 0.5349 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.3415, allocations: 56.55 kB / 0.5349 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3415, allocations: 27.94 kB / 0.535 GB, free: 7.266 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003315/0.3419, allocations: 499.1 kB / 0.5354 GB, free: 6.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3419, allocations: 4 kB / 0.5354 GB, free: 6.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008198/0.3427, allocations: 438.9 kB / 0.5359 GB, free: 6.348 MB / 442.7 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.0006585/0.3434, allocations: 0.5345 MB / 0.5364 GB, free: 5.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.3445, allocations: 1.167 MB / 0.5375 GB, free: 4.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3445, allocations: 0 / 0.5375 GB, free: 4.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.3451, allocations: 0.6503 MB / 0.5381 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3456, allocations: 160.1 kB / 0.5383 GB, free: 3.785 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3472, allocations: 1.545 MB / 0.5398 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3476, allocations: 318.6 kB / 0.5401 GB, free: 1.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.3478, allocations: 128.8 kB / 0.5402 GB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3479, allocations: 88.45 kB / 0.5403 GB, free: 1.641 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3479, allocations: 3.938 kB / 0.5403 GB, free: 1.637 MB / 442.7 MB Notification: Performance of Templates: time 0.01737/0.3653, allocations: 18.49 MB / 0.5584 GB, free: 15.24 MB / 474.7 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.719082032912411] Failed to read output from testmodel.py, exit status != 0: 0.3712292170384899 0.37840997000000004 0.074921501 Calling exit ...