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.001072/0.001072, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.001153/0.001153, allocations: 174 kB / 23.28 MB, free: 1.223 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.9561/0.9561, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.09418/0.09418, allocations: 17.46 MB / 277.7 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.613e-06/1.613e-06, allocations: 0 / 354 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.935e-05, allocations: 10.19 kB / 354 MB, free: 9.566 MB / 282.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.03784/0.03787, allocations: 28.32 MB / 382.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.04835, allocations: 9.931 MB / 392.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.04883, allocations: 11.88 kB / 392.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.04939, allocations: 214.3 kB / 392.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.05051, allocations: 0.5855 MB / 393.1 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.0535, allocations: 1.521 MB / 394.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009947/0.0545, allocations: 0.9736 MB / 395.6 MB, free: 96 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.05498, allocations: 445.8 kB / 396 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.05552, allocations: 0.6083 MB / 396.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.05593, allocations: 387 kB / 397 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.05603, allocations: 84 kB / 397.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.05811, allocations: 0.9942 MB / 398.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.05825, allocations: 199.3 kB / 398.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.05845, allocations: 315.3 kB / 398.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.0608, allocations: 1.852 MB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.06081, allocations: 4 kB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.06081, allocations: 0 / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.06082, allocations: 0 / 400.4 MB, free: 11.22 MB / 330.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.001487/0.06231, allocations: 1.27 MB / 401.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.06235, allocations: 11.97 kB / 401.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/0.06299, allocations: 371.1 kB / 402.1 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.06346, allocations: 446.1 kB / 402.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.06349, allocations: 50.38 kB / 402.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.06357, allocations: 68.38 kB / 402.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.06417, allocations: 0.5778 MB / 403.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.06418, allocations: 192 / 403.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.06422, allocations: 28.38 kB / 403.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.06423, allocations: 19.94 kB / 403.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.06483, allocations: 0.5599 MB / 403.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.06757, allocations: 2.029 MB / 405.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.06829, allocations: 0.6647 MB / 406.5 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.06844, allocations: 157.5 kB / 406.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/0.0702, allocations: 1.503 MB / 408.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.07022, allocations: 41.89 kB / 408.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.664e-06/0.07023, allocations: 0 / 408.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.005994/0.07622, allocations: 2.365 MB / 410.6 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.07625, allocations: 60.06 kB / 410.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.07659, allocations: 0.5178 MB / 411.1 MB, free: 252 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.07662, allocations: 37.64 kB / 411.2 MB, free: 208 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1174/0.194, allocations: 409.2 kB / 411.6 MB, free: 49.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.1942, allocations: 248.5 kB / 411.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.1944, allocations: 164.4 kB / 412 MB, free: 49.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1945, allocations: 0.5497 MB / 412.5 MB, free: 49.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1947, allocations: 130.6 kB / 412.6 MB, free: 49.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.195, allocations: 341.1 kB / 413 MB, free: 48.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.1955, allocations: 0.5192 MB / 413.5 MB, free: 48.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1955, allocations: 0 / 413.5 MB, free: 48.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001811/0.1973, allocations: 0.7947 MB / 414.3 MB, free: 48.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1973, allocations: 6.875 kB / 414.3 MB, free: 48.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1973, allocations: 5.5 kB / 414.3 MB, free: 48.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.1987, allocations: 353 kB / 414.6 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.1991, allocations: 189.3 kB / 414.8 MB, free: 48.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.2015, allocations: 4.521 MB / 419.4 MB, free: 44.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2018, allocations: 26.47 kB / 419.4 MB, free: 44.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.2019, allocations: 34.05 kB / 419.4 MB, free: 44.38 MB / 330.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.0001807/0.202, allocations: 199.2 kB / 419.6 MB, free: 44.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.2021, allocations: 83.97 kB / 419.7 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.2038, allocations: 0.7818 MB / 420.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.2038, allocations: 7.438 kB / 420.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2038, allocations: 3.719 kB / 420.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2038, allocations: 3.422 kB / 420.5 MB, free: 44.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.2061, allocations: 1.387 MB / 421.9 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2061, allocations: 4.125 kB / 421.9 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.2065, allocations: 133.8 kB / 422 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.2079, allocations: 348.5 kB / 422.3 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.2079, allocations: 24.41 kB / 422.4 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.2101, allocations: 4.477 MB / 426.8 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2101, allocations: 2.312 kB / 426.9 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.2118, allocations: 1.026 MB / 427.9 MB, free: 39.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.212, allocations: 118.8 kB / 428 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.212, allocations: 16.25 kB / 428 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2122, allocations: 24.19 kB / 428 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2123, allocations: 59.27 kB / 428.1 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.2123, allocations: 20.44 kB / 428.1 MB, free: 39.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.2126, allocations: 328.1 kB / 428.4 MB, free: 38.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2126, allocations: 0 / 428.4 MB, free: 38.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001018/0.2136, allocations: 444.4 kB / 428.9 MB, free: 38.93 MB / 330.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.0007292/0.2143, allocations: 0.5648 MB / 429.4 MB, free: 38.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.2152, allocations: 0.8119 MB / 430.2 MB, free: 38.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2152, allocations: 0 / 430.2 MB, free: 38.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.2155, allocations: 0.6028 MB / 430.8 MB, free: 38.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.216, allocations: 168.2 kB / 431 MB, free: 38.11 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2179, allocations: 1.313 MB / 432.3 MB, free: 37.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.977e-05/0.218, allocations: 151.4 kB / 432.5 MB, free: 37.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.2183, allocations: 128.2 kB / 432.6 MB, free: 37.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.2186, allocations: 256 kB / 432.8 MB, free: 37.33 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2186, allocations: 0 / 432.8 MB, free: 37.33 MB / 330.7 MB Notification: Performance of Templates: time 0.02059/0.2392, allocations: 21.04 MB / 453.9 MB, free: 22.42 MB / 330.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.3791091069579124]