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.001866/0.001866, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002462/0.002462, allocations: 216 kB / 22.24 MB, free: 5.254 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.793 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.145/0.145, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.003325/0.003325, allocations: 74.55 kB / 471.6 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3494, allocations: 59.86 MB / 0.519 GB, free: 9.738 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.0756/0.425, allocations: 25.01 MB / 0.5434 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.4394, allocations: 8.934 MB / 0.5522 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.4402, allocations: 7.938 kB / 0.5522 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.441, allocations: 218.6 kB / 0.5524 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.443, allocations: 0.5758 MB / 0.5529 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004305/0.4473, allocations: 1.463 MB / 0.5544 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.4489, allocations: 0.9437 MB / 0.5553 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.4497, allocations: 433.5 kB / 0.5557 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.4504, allocations: 428.2 kB / 0.5561 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.4512, allocations: 480.7 kB / 0.5566 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.4515, allocations: 84 kB / 0.5567 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.4542, allocations: 1.007 MB / 0.5576 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.4545, allocations: 201.8 kB / 0.5578 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.4551, allocations: 366.1 kB / 0.5582 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.4593, allocations: 2.05 MB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4593, allocations: 4 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4593, allocations: 0 / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.204e-05/0.4594, allocations: 3.828 kB / 0.5602 GB, free: 15.43 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.002892/0.4623, allocations: 1.158 MB / 0.5613 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4623, allocations: 8.031 kB / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.4632, allocations: 208.8 kB / 0.5615 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.4641, allocations: 429.1 kB / 0.5619 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.4642, allocations: 54.38 kB / 0.562 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4644, allocations: 68.94 kB / 0.5621 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.4662, allocations: 1.118 MB / 0.5631 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4662, allocations: 4 kB / 0.5632 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.4663, allocations: 27.98 kB / 0.5632 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.4663, allocations: 20 kB / 0.5632 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.4687, allocations: 1.538 MB / 0.5647 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005215/0.4739, allocations: 2.561 MB / 0.5672 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.4756, allocations: 0.8991 MB / 0.5681 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.4761, allocations: 366.7 kB / 0.5684 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003817/0.4799, allocations: 1.724 MB / 0.5701 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.48, allocations: 42.88 kB / 0.5702 GB, free: 5.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/0.48, allocations: 4 kB / 0.5702 GB, free: 5.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=68): time 0.01447/0.4944, allocations: 3.386 MB / 0.5735 GB, free: 1.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.4945, allocations: 67.98 kB / 0.5735 GB, free: 1.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4955, allocations: 0.6696 MB / 0.5742 GB, free: 1.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.95e-05/0.4956, allocations: 37.7 kB / 0.5742 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.4959, allocations: 364.3 kB / 0.5746 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.4962, allocations: 249.8 kB / 0.5748 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.4965, allocations: 150.6 kB / 0.5749 GB, free: 356 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.4967, allocations: 362.8 kB / 0.5753 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.4975, allocations: 465.8 kB / 0.5757 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/0.4984, allocations: 0.6042 MB / 0.5763 GB, free: 14.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.4999, allocations: 0.9971 MB / 0.5773 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4999, allocations: 0 / 0.5773 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003948/0.5038, allocations: 1.433 MB / 0.5787 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.5039, allocations: 8 kB / 0.5787 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5039, allocations: 8 kB / 0.5787 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.5058, allocations: 270.2 kB / 0.579 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.5066, allocations: 191.8 kB / 0.5792 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.5125, allocations: 3.698 MB / 0.5828 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.5132, allocations: 24 kB / 0.5828 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.5133, allocations: 39.98 kB / 0.5828 GB, free: 7.898 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.0004562/0.5138, allocations: 209.7 kB / 0.583 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.514, allocations: 55.62 kB / 0.5831 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.5178, allocations: 1.197 MB / 0.5843 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.5178, allocations: 11.94 kB / 0.5843 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.5178, allocations: 8 kB / 0.5843 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5178, allocations: 3.984 kB / 0.5843 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005115/0.523, allocations: 1.968 MB / 0.5862 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.523, allocations: 8.188 kB / 0.5862 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.5236, allocations: 135.8 kB / 0.5863 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.5255, allocations: 262.3 kB / 0.5866 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.5256, allocations: 23.98 kB / 0.5866 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/0.5309, allocations: 3.639 MB / 0.5902 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5309, allocations: 4.156 kB / 0.5902 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.5351, allocations: 1.67 MB / 0.5918 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.5355, allocations: 119.6 kB / 0.5919 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5356, allocations: 19.94 kB / 0.5919 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.536, allocations: 16 kB / 0.5919 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.5362, allocations: 56.55 kB / 0.592 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.5362, allocations: 35.92 kB / 0.592 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006191/0.5368, allocations: 499.1 kB / 0.5925 GB, free: 13.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5368, allocations: 0 / 0.5925 GB, free: 13.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5383, allocations: 442.8 kB / 0.5929 GB, free: 13.17 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.001239/0.5395, allocations: 0.5212 MB / 0.5934 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.5416, allocations: 1.17 MB / 0.5946 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5416, allocations: 0 / 0.5946 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5426, allocations: 0.6546 MB / 0.5952 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.5435, allocations: 155.6 kB / 0.5954 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.5464, allocations: 1.562 MB / 0.5969 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.5468, allocations: 310.6 kB / 0.5972 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005046/0.5473, allocations: 132.8 kB / 0.5973 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.5475, allocations: 83.39 kB / 0.5974 GB, free: 8.461 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5475, allocations: 0 / 0.5974 GB, free: 8.461 MB / 446.1 MB Notification: Performance of Templates: time 0.03416/0.5817, allocations: 19.64 MB / 0.6166 GB, free: 4.93 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.161992982961237] Failed to read output from testmodel.py, exit status != 0: 0.5936898780055344 0.607986465 0.14504461199999993 Calling exit ...