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.001335/0.001335, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001536/0.001536, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.363/1.363, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.1223/0.1223, allocations: 17.36 MB / 277.1 MB, free: 15.27 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.002029/0.002029, allocations: 67.84 kB / 412.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 59.85 MB / 472.3 MB, free: 9.766 MB / 446.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.4197/0.5251, allocations: 25.06 MB / 497.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007957/0.5331, allocations: 8.943 MB / 0.4944 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.5335, allocations: 9.969 kB / 0.4944 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.5341, allocations: 211 kB / 0.4946 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.5352, allocations: 0.5698 MB / 0.4952 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.5383, allocations: 1.468 MB / 0.4966 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.5393, allocations: 0.9444 MB / 0.4975 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.5397, allocations: 424.6 kB / 0.4979 GB, free: 32.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.5401, allocations: 430.3 kB / 0.4984 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.5405, allocations: 420.6 kB / 0.4988 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.5406, allocations: 84.28 kB / 0.4988 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.5432, allocations: 0.9845 MB / 0.4998 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.5433, allocations: 195.8 kB / 0.5 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.5436, allocations: 361.8 kB / 0.5003 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.5464, allocations: 2.053 MB / 0.5023 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5464, allocations: 5 kB / 0.5023 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5464, allocations: 0 / 0.5023 GB, free: 31.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.5464, allocations: 4 kB / 0.5023 GB, free: 31.18 MB / 446.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.00171/0.5481, allocations: 1.157 MB / 0.5035 GB, free: 30.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5481, allocations: 9.188 kB / 0.5035 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.5489, allocations: 208.2 kB / 0.5037 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.5495, allocations: 433.1 kB / 0.5041 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.5495, allocations: 53.84 kB / 0.5041 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.5496, allocations: 72.67 kB / 0.5042 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5509, allocations: 1.115 MB / 0.5053 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5509, allocations: 3.984 kB / 0.5053 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.551, allocations: 26.5 kB / 0.5053 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.551, allocations: 16.03 kB / 0.5054 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.5528, allocations: 1.535 MB / 0.5068 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.5568, allocations: 2.576 MB / 0.5094 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.558, allocations: 0.8932 MB / 0.5102 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.5584, allocations: 359.8 kB / 0.5106 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002832/0.5612, allocations: 1.727 MB / 0.5123 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.5612, allocations: 46.59 kB / 0.5123 GB, free: 26.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.5612, allocations: 0 / 0.5123 GB, free: 26.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.0131/0.5743, allocations: 3.387 MB / 0.5156 GB, free: 25.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5744, allocations: 62.12 kB / 0.5157 GB, free: 24.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.575, allocations: 0.6735 MB / 0.5163 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.5751, allocations: 39.95 kB / 0.5164 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.5752, allocations: 364.9 kB / 0.5167 GB, free: 24.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.5753, allocations: 246.4 kB / 0.517 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.5755, allocations: 152.5 kB / 0.5171 GB, free: 24.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.5756, allocations: 365.2 kB / 0.5175 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.5762, allocations: 459.8 kB / 0.5179 GB, free: 23.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.5768, allocations: 0.6079 MB / 0.5185 GB, free: 23.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5779, allocations: 1 MB / 0.5195 GB, free: 22.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5779, allocations: 2.344 kB / 0.5195 GB, free: 22.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003433/0.5813, allocations: 1.436 MB / 0.5209 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5813, allocations: 6.625 kB / 0.5209 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5814, allocations: 4.469 kB / 0.5209 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.5832, allocations: 272.1 kB / 0.5211 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.584, allocations: 189.3 kB / 0.5213 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.5879, allocations: 3.696 MB / 0.5249 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.5885, allocations: 21.66 kB / 0.5249 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.5886, allocations: 41.64 kB / 0.525 GB, free: 18.57 MB / 446.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.0002698/0.5889, allocations: 202.7 kB / 0.5252 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.589, allocations: 57.91 kB / 0.5252 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/0.5922, allocations: 1.204 MB / 0.5264 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5922, allocations: 12 kB / 0.5264 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5922, allocations: 0 / 0.5264 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5922, allocations: 4.656 kB / 0.5264 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.5964, allocations: 1.966 MB / 0.5283 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5964, allocations: 1.438 kB / 0.5283 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.5969, allocations: 138.5 kB / 0.5285 GB, free: 16.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.5987, allocations: 262.9 kB / 0.5287 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.5987, allocations: 26.16 kB / 0.5288 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.6022, allocations: 3.639 MB / 0.5323 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6022, allocations: 3.375 kB / 0.5323 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.6054, allocations: 1.678 MB / 0.5339 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.6057, allocations: 124.5 kB / 0.5341 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/0.6058, allocations: 11.44 kB / 0.5341 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.6062, allocations: 19.28 kB / 0.5341 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6063, allocations: 52.81 kB / 0.5341 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.6063, allocations: 33.17 kB / 0.5342 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.6067, allocations: 0.4937 MB / 0.5347 GB, free: 12.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6067, allocations: 4 kB / 0.5347 GB, free: 12.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001121/0.6078, allocations: 440.3 kB / 0.5351 GB, free: 12.22 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.0006788/0.6085, allocations: 0.5235 MB / 0.5356 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.6098, allocations: 1.169 MB / 0.5367 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6098, allocations: 0 / 0.5367 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.6105, allocations: 0.6603 MB / 0.5374 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.6112, allocations: 149 kB / 0.5375 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.613, allocations: 1.546 MB / 0.539 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.6132, allocations: 319.4 kB / 0.5393 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003742/0.6135, allocations: 126.5 kB / 0.5395 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.6137, allocations: 85.56 kB / 0.5395 GB, free: 9.879 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6137, allocations: 0 / 0.5395 GB, free: 9.879 MB / 446.1 MB Notification: Performance of Templates: time 0.02637/0.6401, allocations: 18.5 MB / 0.5576 GB, free: 12.23 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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446265151025727] Failed to read output from testmodel.py, exit status != 0: 0.6490287330234423 0.663495423 0.114088483 Calling exit ...