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.0008419/0.0008419, allocations: 85.2 kB / 19.87 MB, free: 4.613 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.0009106/0.0009106, allocations: 165 kB / 23.27 MB, free: 1.219 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.9005/0.9005, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.08442/0.08442, allocations: 17.38 MB / 277.6 MB, free: 11.49 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.743e-06/1.743e-06, allocations: 0 / 353.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.655e-05, allocations: 6.312 kB / 353.9 MB, free: 9.699 MB / 282.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.02684/0.02686, allocations: 28.32 MB / 382.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008244/0.0351, allocations: 9.931 MB / 392.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.0355, allocations: 11.88 kB / 392.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.03604, allocations: 222.2 kB / 392.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.03727, allocations: 0.5777 MB / 392.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.04011, allocations: 1.521 MB / 394.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.0412, allocations: 0.9814 MB / 395.4 MB, free: 224 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.04159, allocations: 441.8 kB / 395.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.04204, allocations: 0.6044 MB / 396.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.0424, allocations: 387 kB / 396.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.04248, allocations: 84 kB / 396.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.04395, allocations: 0.9903 MB / 397.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.04408, allocations: 203.3 kB / 398.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.04427, allocations: 315.3 kB / 398.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.04602, allocations: 1.852 MB / 400.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.04602, allocations: 4 kB / 400.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.04602, allocations: 3.984 kB / 400.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.04603, allocations: 0 / 400.3 MB, free: 11.35 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.001212/0.04724, allocations: 1.27 MB / 401.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.04728, allocations: 12.02 kB / 401.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.04787, allocations: 367.1 kB / 401.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.04832, allocations: 442.2 kB / 402.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.04835, allocations: 50.38 kB / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.04842, allocations: 72.31 kB / 402.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.04926, allocations: 0.5816 MB / 403.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.04927, allocations: 192 / 403.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.04931, allocations: 28.38 kB / 403.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.04933, allocations: 23.94 kB / 403.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.04987, allocations: 0.56 MB / 403.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.05211, allocations: 2.029 MB / 405.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.05278, allocations: 0.657 MB / 406.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.05293, allocations: 169.5 kB / 406.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.05456, allocations: 1.498 MB / 408 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.05458, allocations: 41.89 kB / 408.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.533e-06/0.05458, allocations: 0 / 408.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006097/0.06068, allocations: 2.36 MB / 410.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.06071, allocations: 60.06 kB / 410.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.06102, allocations: 0.51 MB / 411 MB, free: 396 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.06105, allocations: 41.7 kB / 411 MB, free: 348 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1299/0.191, allocations: 401.3 kB / 411.4 MB, free: 49.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.1912, allocations: 254.7 kB / 411.7 MB, free: 49.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.1914, allocations: 160.8 kB / 411.8 MB, free: 49.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1915, allocations: 0.5486 MB / 412.4 MB, free: 49.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1917, allocations: 132 kB / 412.5 MB, free: 49.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.192, allocations: 347.7 kB / 412.9 MB, free: 49.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.1925, allocations: 0.5174 MB / 413.4 MB, free: 48.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1925, allocations: 1.062 kB / 413.4 MB, free: 48.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001616/0.1941, allocations: 0.7961 MB / 414.2 MB, free: 48.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1941, allocations: 6.688 kB / 414.2 MB, free: 48.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1941, allocations: 7.375 kB / 414.2 MB, free: 48.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.1955, allocations: 349.4 kB / 414.5 MB, free: 48.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.1959, allocations: 193.3 kB / 414.7 MB, free: 48.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.1985, allocations: 4.52 MB / 419.2 MB, free: 44.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.1988, allocations: 24.06 kB / 419.3 MB, free: 44.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.1989, allocations: 32.09 kB / 419.3 MB, free: 44.49 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.0001561/0.199, allocations: 203.4 kB / 419.5 MB, free: 44.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.1991, allocations: 76.52 kB / 419.6 MB, free: 44.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.2008, allocations: 0.7902 MB / 420.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.2008, allocations: 7.312 kB / 420.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2008, allocations: 0 / 420.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2008, allocations: 9.453 kB / 420.4 MB, free: 44.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.203, allocations: 1.384 MB / 421.8 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.203, allocations: 1.969 kB / 421.8 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.2033, allocations: 138.7 kB / 421.9 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.2047, allocations: 341 kB / 422.2 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.2047, allocations: 28.59 kB / 422.2 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.2067, allocations: 4.476 MB / 426.7 MB, free: 39.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2067, allocations: 4.969 kB / 426.7 MB, free: 39.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.2082, allocations: 1.028 MB / 427.8 MB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.2084, allocations: 112.5 kB / 427.9 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.2084, allocations: 12.44 kB / 427.9 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2086, allocations: 27.97 kB / 427.9 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.2087, allocations: 56.72 kB / 428 MB, free: 39.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.2087, allocations: 18.12 kB / 428 MB, free: 39.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.2089, allocations: 333.9 kB / 428.3 MB, free: 39.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2089, allocations: 2.625 kB / 428.3 MB, free: 39.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008622/0.2097, allocations: 441.8 kB / 428.7 MB, free: 39.04 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.0006685/0.2104, allocations: 0.5662 MB / 429.3 MB, free: 38.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.2111, allocations: 0.8115 MB / 430.1 MB, free: 38.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2111, allocations: 0 / 430.1 MB, free: 38.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.2114, allocations: 0.6018 MB / 430.7 MB, free: 38.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2119, allocations: 175.1 kB / 430.9 MB, free: 38.22 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.00164/0.2135, allocations: 1.306 MB / 432.2 MB, free: 37.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.2136, allocations: 147.8 kB / 432.3 MB, free: 37.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.2139, allocations: 129.6 kB / 432.5 MB, free: 37.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.2142, allocations: 257.2 kB / 432.7 MB, free: 37.44 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2142, allocations: 0 / 432.7 MB, free: 37.44 MB / 330.7 MB Notification: Performance of Templates: time 0.02262/0.2368, allocations: 21.05 MB / 453.8 MB, free: 22.6 MB / 330.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.AcidBaseBufferTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4735148111358285]