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.001464/0.001464, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001212/0.001212, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9628/0.9628, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.09637/0.09637, allocations: 17.47 MB / 278.5 MB, free: 11.4 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 354.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.053e-05, allocations: 2.312 kB / 354.8 MB, free: 10.59 MB / 330.7 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.02565/0.02567, allocations: 28.28 MB / 383.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008121/0.0338, allocations: 9.939 MB / 393 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.03426, allocations: 19.88 kB / 393 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.03481, allocations: 210.3 kB / 393.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.03588, allocations: 0.5855 MB / 393.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.03864, allocations: 1.521 MB / 395.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000979/0.03962, allocations: 0.9814 MB / 396.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.04005, allocations: 441.6 kB / 396.8 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.04056, allocations: 0.6043 MB / 397.4 MB, free: 60 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.04099, allocations: 395 kB / 397.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.55e-05/0.04108, allocations: 84 kB / 397.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.04296, allocations: 0.998 MB / 398.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.04311, allocations: 195.4 kB / 399 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.04334, allocations: 311.3 kB / 399.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.04592, allocations: 1.86 MB / 401.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.04593, allocations: 0 / 401.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.04593, allocations: 4 kB / 401.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.04594, allocations: 0 / 401.2 MB, free: 12.22 MB / 378.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.001402/0.04734, allocations: 1.266 MB / 402.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.04737, allocations: 16.02 kB / 402.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.04797, allocations: 367.1 kB / 402.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.04841, allocations: 430.2 kB / 403.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.04845, allocations: 54.38 kB / 403.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.04852, allocations: 64.38 kB / 403.4 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.04923, allocations: 0.5895 MB / 404 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.04924, allocations: 4.172 kB / 404 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.04929, allocations: 24.38 kB / 404 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.0493, allocations: 19.94 kB / 404 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.04987, allocations: 0.5638 MB / 404.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.05227, allocations: 2.029 MB / 406.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.05333, allocations: 0.6453 MB / 407.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.05348, allocations: 157.5 kB / 407.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/0.05524, allocations: 1.489 MB / 408.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.05526, allocations: 41.89 kB / 408.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 1.984e-06/0.05527, allocations: 0 / 408.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.006285/0.06155, allocations: 2.357 MB / 411.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.06158, allocations: 56.06 kB / 411.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.06195, allocations: 0.5256 MB / 411.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.06199, allocations: 37.7 kB / 411.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.06218, allocations: 415 kB / 412.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.06231, allocations: 249.8 kB / 412.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.06248, allocations: 164.2 kB / 412.7 MB, free: 428 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.06264, allocations: 0.5468 MB / 413.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.0628, allocations: 129.9 kB / 413.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.06306, allocations: 340.5 kB / 413.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.06377, allocations: 0.5183 MB / 414.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.06378, allocations: 0 / 414.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001548/0.06532, allocations: 0.7962 MB / 415 MB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.06534, allocations: 8 kB / 415 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.06535, allocations: 4 kB / 415 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.06677, allocations: 358.9 kB / 415.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.06718, allocations: 183.8 kB / 415.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.07012, allocations: 4.521 MB / 420.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.07048, allocations: 24.03 kB / 420.1 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.07054, allocations: 35.98 kB / 420.2 MB, free: 8.523 MB / 394.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.0002344/0.07078, allocations: 200.3 kB / 420.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.07094, allocations: 83.62 kB / 420.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.07283, allocations: 0.787 MB / 421.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.07283, allocations: 8 kB / 421.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.07284, allocations: 0 / 421.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.07284, allocations: 3.984 kB / 421.2 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.07509, allocations: 1.388 MB / 422.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.0751, allocations: 4 kB / 422.6 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.07541, allocations: 131.9 kB / 422.7 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.07694, allocations: 354.6 kB / 423.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.07699, allocations: 19.98 kB / 423.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.07973, allocations: 4.471 MB / 427.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.07974, allocations: 3.938 kB / 427.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.08181, allocations: 1.027 MB / 428.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.08206, allocations: 111.5 kB / 428.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.08212, allocations: 19.98 kB / 428.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.08233, allocations: 16 kB / 428.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.08243, allocations: 64.48 kB / 428.8 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.08246, allocations: 19.98 kB / 428.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002156/0.08267, allocations: 323 kB / 429.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08267, allocations: 0 / 429.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009635/0.08364, allocations: 446.8 kB / 429.6 MB, free: 14.64 MB / 410.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.0007251/0.08436, allocations: 0.5564 MB / 430.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.08522, allocations: 0.8104 MB / 431 MB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.08523, allocations: 5.125 kB / 431 MB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.08566, allocations: 0.6058 MB / 431.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.08621, allocations: 179.9 kB / 431.7 MB, free: 12.41 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.08815, allocations: 1.297 MB / 433 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.08826, allocations: 155.2 kB / 433.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.08859, allocations: 128.8 kB / 433.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.08893, allocations: 254 kB / 433.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.08893, allocations: 3.938 kB / 433.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of Templates: time 0.1472/0.2361, allocations: 21.38 MB / 455 MB, free: 106 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562259207945317]