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.001341/0.001341, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001475/0.001475, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9989/0.9989, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.09043/0.09043, allocations: 17.39 MB / 277.6 MB, free: 11.51 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 300.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.345e-05, allocations: 3.406 kB / 300.7 MB, free: 1.805 MB / 266.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.06596/0.06599, allocations: 34.15 MB / 334.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.07431, allocations: 10.1 MB / 344.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.07461, allocations: 7.938 kB / 344.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.07512, allocations: 218.2 kB / 345.1 MB, free: 8.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.07605, allocations: 0.5854 MB / 345.7 MB, free: 7.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.0784, allocations: 1.502 MB / 347.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.07916, allocations: 0.9853 MB / 348.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.07956, allocations: 443.8 kB / 348.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.08003, allocations: 0.6005 MB / 349.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.08041, allocations: 391 kB / 349.6 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.08048, allocations: 84 kB / 349.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.08189, allocations: 1.033 MB / 350.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.08201, allocations: 191.4 kB / 350.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.08222, allocations: 319.3 kB / 351.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.08389, allocations: 1.856 MB / 353.1 MB, free: 52 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.0839, allocations: 0 / 353.1 MB, free: 52 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0839, allocations: 0 / 353.1 MB, free: 52 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.08391, allocations: 3.938 kB / 353.1 MB, free: 48 kB / 314.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.001197/0.0851, allocations: 1.134 MB / 354.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.08513, allocations: 8.031 kB / 354.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.0857, allocations: 351.5 kB / 354.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.0861, allocations: 363.4 kB / 354.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.08613, allocations: 50.38 kB / 355 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.0862, allocations: 68.38 kB / 355.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.08673, allocations: 0.5828 MB / 355.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.08674, allocations: 192 / 355.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.08677, allocations: 24.38 kB / 355.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.08679, allocations: 19.94 kB / 355.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.0873, allocations: 484.4 kB / 356.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.08936, allocations: 1.636 MB / 357.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.08999, allocations: 0.6451 MB / 358.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.09012, allocations: 142.7 kB / 358.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.09166, allocations: 1.273 MB / 359.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.09168, allocations: 39.06 kB / 359.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.373e-06/0.09168, allocations: 0 / 359.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006243/0.09792, allocations: 2.442 MB / 362.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.09795, allocations: 60.06 kB / 362.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.09826, allocations: 476.7 kB / 362.8 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.09829, allocations: 33.7 kB / 362.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.09842, allocations: 329.2 kB / 363.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.09853, allocations: 241.9 kB / 363.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.09868, allocations: 146.5 kB / 363.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.09878, allocations: 378.6 kB / 364 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.09892, allocations: 116.8 kB / 364.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.09912, allocations: 262.8 kB / 364.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.09951, allocations: 461.4 kB / 364.8 MB, free: 4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.09951, allocations: 0 / 364.8 MB, free: 4 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001212/0.1007, allocations: 0.6392 MB / 365.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1007, allocations: 4.281 kB / 365.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1007, allocations: 12 kB / 365.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.102, allocations: 337 kB / 365.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.1024, allocations: 215.7 kB / 366 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.1047, allocations: 3.127 MB / 369.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1049, allocations: 24 kB / 369.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.1049, allocations: 27.98 kB / 369.1 MB, free: 15.4 MB / 346.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.0001409/0.1051, allocations: 168.6 kB / 369.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.1051, allocations: 59.92 kB / 369.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.1064, allocations: 0.6683 MB / 370 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1064, allocations: 8 kB / 370 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1064, allocations: 4 kB / 370 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1064, allocations: 3.984 kB / 370.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.1081, allocations: 1.132 MB / 371.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1081, allocations: 0 / 371.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.1085, allocations: 147.8 kB / 371.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.1096, allocations: 345.1 kB / 371.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.1096, allocations: 19.98 kB / 371.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.1118, allocations: 3.081 MB / 374.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1118, allocations: 4 kB / 374.8 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.1131, allocations: 0.8907 MB / 375.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1132, allocations: 75.58 kB / 375.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.1133, allocations: 19.98 kB / 375.8 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1134, allocations: 12 kB / 375.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.1135, allocations: 60.67 kB / 375.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1135, allocations: 20 kB / 375.8 MB, free: 8.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1137, allocations: 204.6 kB / 376 MB, free: 8.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1137, allocations: 0 / 376 MB, free: 8.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.1144, allocations: 442.8 kB / 376.5 MB, free: 7.703 MB / 346.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.0005701/0.1149, allocations: 0.5534 MB / 377 MB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.1155, allocations: 0.6569 MB / 377.7 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/0.1156, allocations: 5.125 kB / 377.7 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.1159, allocations: 479.2 kB / 378.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1163, allocations: 168.6 kB / 378.3 MB, free: 5.789 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1179, allocations: 1.284 MB / 379.6 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.118, allocations: 155.3 kB / 379.8 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.1183, allocations: 120.9 kB / 379.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.1186, allocations: 221.1 kB / 380.1 MB, free: 3.941 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1186, allocations: 0 / 380.1 MB, free: 3.941 MB / 346.7 MB Notification: Performance of Templates: time 0.01996/0.1386, allocations: 20.98 MB / 401.1 MB, free: 15.05 MB / 378.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.275182121898979]