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.002535/0.002535, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003046/0.003046, allocations: 173.6 kB / 22.76 MB, free: 1.66 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 1.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1519/0.1519, allocations: 17.44 MB / 277 MB, free: 11.59 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.894e-06/1.894e-06, allocations: 0 / 352.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.931e-05, allocations: 2.312 kB / 352.8 MB, free: 10.17 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.04615/0.04618, allocations: 25.99 MB / 378.8 MB, free: 332 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.06155, allocations: 10.15 MB / 389 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.06213, allocations: 11.88 kB / 389 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008205/0.06295, allocations: 218.2 kB / 389.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.06483, allocations: 0.5894 MB / 389.8 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.06919, allocations: 1.51 MB / 391.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.07067, allocations: 0.9775 MB / 392.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.07133, allocations: 449.8 kB / 392.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008043/0.07213, allocations: 0.6004 MB / 393.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.07276, allocations: 383 kB / 393.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.07291, allocations: 88 kB / 393.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.0754, allocations: 0.9942 MB / 394.8 MB, free: 324 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.07564, allocations: 199.3 kB / 394.9 MB, free: 124 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.07608, allocations: 311.4 kB / 395.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.0797, allocations: 2.179 MB / 397.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0797, allocations: 0 / 397.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0797, allocations: 0 / 397.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.07971, allocations: 4 kB / 397.4 MB, free: 13.62 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.00274/0.08246, allocations: 1.305 MB / 398.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.08251, allocations: 12.03 kB / 398.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.08375, allocations: 367.1 kB / 399.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.08511, allocations: 442.2 kB / 399.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.08518, allocations: 54.38 kB / 399.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.08533, allocations: 68.38 kB / 399.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.08688, allocations: 0.7999 MB / 400.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.0869, allocations: 192 / 400.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.08699, allocations: 28.38 kB / 400.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.087, allocations: 23.88 kB / 400.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.08885, allocations: 0.9643 MB / 401.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/0.09381, allocations: 2.439 MB / 403.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.09526, allocations: 0.6727 MB / 404.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.09594, allocations: 257.6 kB / 404.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003586/0.09953, allocations: 1.588 MB / 406.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.09956, allocations: 41.89 kB / 406.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.873e-06/0.09957, allocations: 0 / 406.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.01492/0.1145, allocations: 2.949 MB / 409.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1145, allocations: 60 kB / 409.5 MB, free: 1.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.1153, allocations: 0.6157 MB / 410.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.1154, allocations: 41.7 kB / 410.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.1158, allocations: 427 kB / 410.6 MB, free: 236 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1242/0.24, allocations: 257 kB / 410.8 MB, free: 62.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.2403, allocations: 177.3 kB / 411 MB, free: 62.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2404, allocations: 0.5704 MB / 411.5 MB, free: 62.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.2409, allocations: 264.5 kB / 411.8 MB, free: 62.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.2415, allocations: 494.8 kB / 412.3 MB, free: 61.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2425, allocations: 0.7859 MB / 413.1 MB, free: 61.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2425, allocations: 2.312 kB / 413.1 MB, free: 61.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003417/0.2459, allocations: 1.089 MB / 414.2 MB, free: 61.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.246, allocations: 6.875 kB / 414.2 MB, free: 61.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.246, allocations: 4.125 kB / 414.2 MB, free: 61.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/0.2493, allocations: 396.9 kB / 414.6 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.2501, allocations: 190.9 kB / 414.7 MB, free: 61.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.2546, allocations: 4.963 MB / 419.7 MB, free: 56.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.2552, allocations: 23.06 kB / 419.7 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.2552, allocations: 39.23 kB / 419.8 MB, free: 56.51 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.0003033/0.2555, allocations: 250.9 kB / 420 MB, free: 56.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.2557, allocations: 79.8 kB / 420.1 MB, free: 56.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.2592, allocations: 1.029 MB / 421.1 MB, free: 55.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2592, allocations: 8.312 kB / 421.1 MB, free: 55.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2592, allocations: 4.922 kB / 421.1 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2592, allocations: 7.047 kB / 421.1 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.2638, allocations: 1.823 MB / 423 MB, free: 55.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2638, allocations: 1.062 kB / 423 MB, free: 55.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.2644, allocations: 140.7 kB / 423.1 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.2677, allocations: 391.4 kB / 423.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.2678, allocations: 19.7 kB / 423.5 MB, free: 54.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.2726, allocations: 4.913 MB / 428.4 MB, free: 50.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2726, allocations: 5.031 kB / 428.4 MB, free: 50.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.2767, allocations: 1.435 MB / 429.9 MB, free: 49.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.277, allocations: 116 kB / 430 MB, free: 49.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.2771, allocations: 17.75 kB / 430 MB, free: 49.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.2775, allocations: 14.16 kB / 430 MB, free: 49.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.2776, allocations: 59.22 kB / 430.1 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.2777, allocations: 28.27 kB / 430.1 MB, free: 49.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003918/0.2781, allocations: 412.7 kB / 430.5 MB, free: 49.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2781, allocations: 0 / 430.5 MB, free: 49.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001191/0.2793, allocations: 449.1 kB / 430.9 MB, free: 49.36 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.0007688/0.28, allocations: 0.5398 MB / 431.5 MB, free: 49.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.2816, allocations: 1.057 MB / 432.5 MB, free: 48.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2816, allocations: 0 / 432.5 MB, free: 48.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008224/0.2824, allocations: 0.7166 MB / 433.2 MB, free: 48.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.2833, allocations: 170 kB / 433.4 MB, free: 48.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2852, allocations: 1.406 MB / 434.8 MB, free: 47.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2854, allocations: 316.2 kB / 435.1 MB, free: 46.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.2858, allocations: 130.8 kB / 435.3 MB, free: 46.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.286, allocations: 88.12 kB / 435.3 MB, free: 46.8 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.286, allocations: 3.938 kB / 435.3 MB, free: 46.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02286/0.3088, allocations: 18.78 MB / 454.1 MB, free: 29.38 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: 5.7440323770279065]