Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07851/0.07851, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08548, allocations: 53.61 MB / 479.5 MB, free: 5.789 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.AcidBase.AcidBaseBufferTest): time 0.03138/0.1169, allocations: 24.09 MB / 0.4918 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1277, allocations: 10.09 MB / 0.5016 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004779/0.1282, allocations: 7.938 kB / 0.5016 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.1288, allocations: 234.3 kB / 0.5018 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.13, allocations: 0.5779 MB / 0.5024 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.1332, allocations: 1.433 MB / 0.5038 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.1343, allocations: 0.9429 MB / 0.5047 GB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1868/0.3211, allocations: 0.5051 MB / 0.5052 GB, free: 19.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.3218, allocations: 421 kB / 0.5056 GB, free: 19.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.3224, allocations: 475.2 kB / 0.5061 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.3226, allocations: 88.56 kB / 0.5062 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.3254, allocations: 1.038 MB / 0.5072 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3256, allocations: 197.5 kB / 0.5074 GB, free: 19.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.326, allocations: 428.5 kB / 0.5078 GB, free: 19.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.3286, allocations: 1.992 MB / 0.5097 GB, free: 19.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3286, allocations: 1.219 kB / 0.5097 GB, free: 19.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3286, allocations: 0 / 0.5097 GB, free: 19.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.3287, allocations: 0 / 0.5097 GB, free: 19.04 MB / 382.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.001853/0.3305, allocations: 1.206 MB / 0.5109 GB, free: 18.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3306, allocations: 12 kB / 0.5109 GB, free: 18.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007975/0.3314, allocations: 204.4 kB / 0.5111 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.3319, allocations: 485.9 kB / 0.5116 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.332, allocations: 51.12 kB / 0.5116 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3321, allocations: 73.52 kB / 0.5117 GB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.3335, allocations: 1.087 MB / 0.5127 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3335, allocations: 3.938 kB / 0.5127 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.3336, allocations: 29.03 kB / 0.5128 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3336, allocations: 15.94 kB / 0.5128 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.3355, allocations: 1.512 MB / 0.5143 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.3402, allocations: 3.006 MB / 0.5172 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.3416, allocations: 1.009 MB / 0.5182 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.342, allocations: 381 kB / 0.5185 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003287/0.3453, allocations: 2.447 MB / 0.5209 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.3454, allocations: 39.94 kB / 0.521 GB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.695e-06/0.3454, allocations: 0.9844 kB / 0.521 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.01414/0.3595, allocations: 3.498 MB / 0.5244 GB, free: 12.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.3596, allocations: 58.5 kB / 0.5244 GB, free: 12.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007312/0.3603, allocations: 0.6902 MB / 0.5251 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.3604, allocations: 43.61 kB / 0.5252 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3606, allocations: 347.7 kB / 0.5255 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3607, allocations: 238.6 kB / 0.5257 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.361, allocations: 152 kB / 0.5259 GB, free: 11.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.3611, allocations: 370.2 kB / 0.5262 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/0.3616, allocations: 449.3 kB / 0.5266 GB, free: 11.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.3622, allocations: 0.5889 MB / 0.5272 GB, free: 11.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3633, allocations: 0.9697 MB / 0.5282 GB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.3633, allocations: 3.031 kB / 0.5282 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003453/0.3668, allocations: 1.407 MB / 0.5295 GB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3668, allocations: 12.88 kB / 0.5296 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3668, allocations: 3.188 kB / 0.5296 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.3688, allocations: 268.5 kB / 0.5298 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.3696, allocations: 192.1 kB / 0.53 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.3737, allocations: 3.958 MB / 0.5339 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.3744, allocations: 22.06 kB / 0.5339 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.3745, allocations: 40.25 kB / 0.5339 GB, free: 6.32 MB / 382.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.0003088/0.3748, allocations: 210 kB / 0.5341 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3749, allocations: 61.06 kB / 0.5342 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.3781, allocations: 1.194 MB / 0.5353 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.3782, allocations: 6.609 kB / 0.5354 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3782, allocations: 0 / 0.5354 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.3785, allocations: 194.9 kB / 0.5355 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.3786, allocations: 12.97 kB / 0.5356 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.379, allocations: 17.78 kB / 0.5356 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3791, allocations: 53.72 kB / 0.5356 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00239/0.3815, allocations: 1.062 MB / 0.5367 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001512/0.383, allocations: 1.441 MB / 0.5381 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004078/0.3834, allocations: 379.1 kB / 0.5384 GB, free: 3.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.3839, allocations: 0.5043 MB / 0.5389 GB, free: 3.648 MB / 382.1 MB Notification: Performance of Backend: time 6.32e-07/0.3839, allocations: 0 / 0.5389 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.3871, allocations: 1.505 MB / 0.5404 GB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 0.001893/0.389, allocations: 1.813 MB / 0.5422 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of Templates: time 0.02789/0.4169, allocations: 20.4 MB / 0.5621 GB, free: 13.22 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.makefile (rm -f Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.sim & ./Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1)