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.0009232/0.0009232, allocations: 93.06 kB / 19.65 MB, free: 272 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.001725/0.001725, allocations: 169 kB / 23.02 MB, free: 1.543 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.9945/0.9945, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.08457/0.08457, allocations: 17.46 MB / 277.4 MB, free: 11.53 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.954e-06/1.954e-06, allocations: 0 / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.029e-05, allocations: 2.312 kB / 353.6 MB, free: 9.844 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.03071/0.03074, allocations: 28.31 MB / 381.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00889/0.03963, allocations: 10.22 MB / 392.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.04007, allocations: 11.88 kB / 392.1 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.04062, allocations: 222.3 kB / 392.3 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.04181, allocations: 0.5777 MB / 392.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.04491, allocations: 1.521 MB / 394.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.04609, allocations: 0.9814 MB / 395.4 MB, free: 76 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.04663, allocations: 437.8 kB / 395.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.04716, allocations: 0.6082 MB / 396.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.04757, allocations: 387 kB / 396.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/0.04765, allocations: 84 kB / 396.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.04966, allocations: 0.9942 MB / 397.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.04981, allocations: 203.3 kB / 398.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.05005, allocations: 311.3 kB / 398.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.0525, allocations: 1.86 MB / 400.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.05251, allocations: 0 / 400.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05251, allocations: 0 / 400.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.05252, allocations: 0 / 400.2 MB, free: 11.2 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.001416/0.05393, allocations: 1.254 MB / 401.5 MB, free: 9.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.05398, allocations: 8.031 kB / 401.5 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006286/0.05461, allocations: 371.2 kB / 401.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.05509, allocations: 442.1 kB / 402.3 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.05513, allocations: 54.38 kB / 402.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.05521, allocations: 64.38 kB / 402.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.05594, allocations: 0.6404 MB / 403.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.05595, allocations: 4.188 kB / 403.1 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.05599, allocations: 28.38 kB / 403.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.05601, allocations: 19.94 kB / 403.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.05678, allocations: 0.6634 MB / 403.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.05939, allocations: 2.099 MB / 405.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.06022, allocations: 0.7077 MB / 406.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.06044, allocations: 189.6 kB / 406.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.06224, allocations: 1.47 MB / 408.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.06227, allocations: 49.88 kB / 408.3 MB, free: 2.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.934e-06/0.06227, allocations: 0 / 408.3 MB, free: 2.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.00674/0.06901, allocations: 2.574 MB / 410.9 MB, free: 356 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.06905, allocations: 60.05 kB / 410.9 MB, free: 284 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.133/0.2021, allocations: 0.5241 MB / 411.4 MB, free: 49.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.2022, allocations: 35.92 kB / 411.5 MB, free: 49.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2023, allocations: 414.3 kB / 411.9 MB, free: 49.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2025, allocations: 243.6 kB / 412.1 MB, free: 49.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2027, allocations: 163 kB / 412.3 MB, free: 49.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2028, allocations: 0.5396 MB / 412.8 MB, free: 49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.2031, allocations: 172.5 kB / 413 MB, free: 49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.2034, allocations: 376.5 kB / 413.3 MB, free: 48.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.204, allocations: 0.5889 MB / 413.9 MB, free: 48.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.204, allocations: 1.469 kB / 413.9 MB, free: 48.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001805/0.2059, allocations: 0.869 MB / 414.8 MB, free: 48.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2059, allocations: 7.766 kB / 414.8 MB, free: 48.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2059, allocations: 6.781 kB / 414.8 MB, free: 48.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.2073, allocations: 354.6 kB / 415.2 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2077, allocations: 192.9 kB / 415.4 MB, free: 48.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.2102, allocations: 4.567 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.2105, allocations: 22.75 kB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.2105, allocations: 41.72 kB / 420 MB, free: 44.14 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.000145/0.2107, allocations: 200.4 kB / 420.2 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/0.2108, allocations: 78.12 kB / 420.3 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.2125, allocations: 0.8561 MB / 421.1 MB, free: 43.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2125, allocations: 11.56 kB / 421.1 MB, free: 43.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2125, allocations: 1 kB / 421.1 MB, free: 43.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2125, allocations: 5.344 kB / 421.1 MB, free: 43.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.2149, allocations: 1.527 MB / 422.7 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2149, allocations: 1.188 kB / 422.7 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.2152, allocations: 138.9 kB / 422.8 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.2166, allocations: 350.3 kB / 423.1 MB, free: 43.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.2167, allocations: 20.3 kB / 423.2 MB, free: 43.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.2187, allocations: 4.517 MB / 427.7 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2187, allocations: 2.219 kB / 427.7 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2207, allocations: 1.125 MB / 428.8 MB, free: 38.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2208, allocations: 115.9 kB / 428.9 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.2209, allocations: 15.25 kB / 428.9 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2211, allocations: 18.95 kB / 428.9 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2212, allocations: 63.33 kB / 429 MB, free: 38.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.2212, allocations: 32.94 kB / 429 MB, free: 38.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002679/0.2215, allocations: 355 kB / 429.4 MB, free: 38.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2215, allocations: 1.281 kB / 429.4 MB, free: 38.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008931/0.2224, allocations: 445.5 kB / 429.8 MB, free: 38.61 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.0006551/0.223, allocations: 0.5408 MB / 430.4 MB, free: 38.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008974/0.2239, allocations: 0.8767 MB / 431.2 MB, free: 38.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2239, allocations: 4.281 kB / 431.2 MB, free: 38.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.2244, allocations: 0.6284 MB / 431.9 MB, free: 37.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.2249, allocations: 175.6 kB / 432 MB, free: 37.79 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.001955/0.2269, allocations: 1.324 MB / 433.4 MB, free: 37.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.227, allocations: 154.2 kB / 433.5 MB, free: 37.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.2273, allocations: 125.8 kB / 433.6 MB, free: 37.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.2274, allocations: 92.09 kB / 433.7 MB, free: 37.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2274, allocations: 0 / 433.7 MB, free: 37.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01655/0.244, allocations: 18.78 MB / 452.5 MB, free: 23.78 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.6214871569536626]