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.001963/0.001963, allocations: 103 kB / 16.45 MB, free: 6.449 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.002398/0.002398, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1426/0.1426, allocations: 23.88 MB / 332.7 MB, free: 12.34 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.002144/0.002144, allocations: 72.08 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 59.83 MB / 0.514 GB, free: 9.453 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.04134/0.3588, allocations: 25.36 MB / 0.5388 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.3731, allocations: 10.16 MB / 0.5487 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.3739, allocations: 7.938 kB / 0.5487 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.3747, allocations: 246.5 kB / 0.549 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3764, allocations: 0.5686 MB / 0.5495 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.3813, allocations: 1.457 MB / 0.5509 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.383, allocations: 0.9425 MB / 0.5519 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.3837, allocations: 427.5 kB / 0.5523 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3843, allocations: 430.5 kB / 0.5527 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008501/0.3852, allocations: 477.9 kB / 0.5531 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.3853, allocations: 84 kB / 0.5532 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005393/0.3907, allocations: 1.059 MB / 0.5542 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.391, allocations: 197.7 kB / 0.5544 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008296/0.3919, allocations: 425 kB / 0.5548 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006612/0.3985, allocations: 2.062 MB / 0.5568 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3985, allocations: 0 / 0.5568 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3985, allocations: 0 / 0.5568 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-05/0.3985, allocations: 0 / 0.5568 GB, free: 14.91 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.003758/0.4023, allocations: 1.242 MB / 0.5581 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4024, allocations: 12.03 kB / 0.5581 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.4035, allocations: 209 kB / 0.5583 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4046, allocations: 489.3 kB / 0.5587 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.4046, allocations: 58.31 kB / 0.5588 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.4048, allocations: 68.98 kB / 0.5589 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.407, allocations: 1.089 MB / 0.5599 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.407, allocations: 0.5625 kB / 0.5599 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.4071, allocations: 28 kB / 0.56 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.4071, allocations: 16 kB / 0.56 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.4097, allocations: 1.51 MB / 0.5614 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006119/0.4159, allocations: 3.022 MB / 0.5644 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4176, allocations: 0.9626 MB / 0.5653 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.4182, allocations: 350.4 kB / 0.5657 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004283/0.4224, allocations: 2.469 MB / 0.5681 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4225, allocations: 39 kB / 0.5681 GB, free: 3.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 1.914e-06/0.4225, allocations: 0 / 0.5681 GB, free: 3.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01568/0.4382, allocations: 3.502 MB / 0.5715 GB, free: 15.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4382, allocations: 63.91 kB / 0.5716 GB, free: 15.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.4393, allocations: 0.6892 MB / 0.5723 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.4394, allocations: 37.7 kB / 0.5723 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.4397, allocations: 356.4 kB / 0.5726 GB, free: 14.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.44, allocations: 249.8 kB / 0.5729 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.4403, allocations: 154.5 kB / 0.573 GB, free: 14.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.4405, allocations: 374.8 kB / 0.5734 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.4412, allocations: 445.8 kB / 0.5738 GB, free: 13.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.4421, allocations: 0.5925 MB / 0.5744 GB, free: 12.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.4437, allocations: 0.9733 MB / 0.5753 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4437, allocations: 4 kB / 0.5753 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004087/0.4478, allocations: 1.401 MB / 0.5767 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4478, allocations: 8 kB / 0.5767 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4478, allocations: 7.938 kB / 0.5767 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.4499, allocations: 270.3 kB / 0.577 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.4507, allocations: 187.8 kB / 0.5772 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.4566, allocations: 3.96 MB / 0.581 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/0.4573, allocations: 24 kB / 0.5811 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4574, allocations: 39.98 kB / 0.5811 GB, free: 5.637 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.0004155/0.4578, allocations: 201.6 kB / 0.5813 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.458, allocations: 67.52 kB / 0.5814 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.4619, allocations: 1.189 MB / 0.5825 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.462, allocations: 8 kB / 0.5825 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.462, allocations: 4 kB / 0.5825 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.462, allocations: 3.984 kB / 0.5825 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.4672, allocations: 2.157 MB / 0.5846 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4672, allocations: 4 kB / 0.5846 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.4678, allocations: 135.8 kB / 0.5848 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.4698, allocations: 258.5 kB / 0.585 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.4699, allocations: 27.92 kB / 0.585 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/0.4754, allocations: 3.919 MB / 0.5889 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4754, allocations: 0 / 0.5889 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.4799, allocations: 1.65 MB / 0.5905 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.4803, allocations: 204.6 kB / 0.5907 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.4804, allocations: 19.88 kB / 0.5907 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.4809, allocations: 20 kB / 0.5907 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.481, allocations: 52.48 kB / 0.5908 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.4811, allocations: 31.98 kB / 0.5908 GB, free: 11.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006622/0.4817, allocations: 0.503 MB / 0.5913 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4817, allocations: 0 / 0.5913 GB, free: 10.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00148/0.4832, allocations: 442.9 kB / 0.5917 GB, free: 10.27 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.001294/0.4845, allocations: 0.5327 MB / 0.5922 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.4867, allocations: 1.147 MB / 0.5933 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.4867, allocations: 0 / 0.5933 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4878, allocations: 0.6489 MB / 0.594 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000984/0.4888, allocations: 165.2 kB / 0.5941 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.4918, allocations: 1.553 MB / 0.5957 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.4924, allocations: 0.9109 MB / 0.5965 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005376/0.493, allocations: 128.9 kB / 0.5967 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4932, allocations: 95.36 kB / 0.5968 GB, free: 4.969 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4932, allocations: 4 kB / 0.5968 GB, free: 4.965 MB / 446.1 MB Notification: Performance of Templates: time 0.03165/0.5249, allocations: 18.45 MB / 0.6148 GB, free: 2.562 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.698335476685315] Failed to read output from testmodel.py, exit status != 0: 0.53377292631194 0.546832021 0.145504785 Calling exit ...