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.001041/0.001041, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001704/0.001704, allocations: 173 kB / 23.49 MB, free: 1.062 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.9185/0.9185, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.0812/0.0812, allocations: 17.46 MB / 277.7 MB, free: 11.62 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 2.355e-06/2.355e-06, allocations: 0 / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.078e-05, allocations: 5.547 kB / 353.6 MB, free: 10.18 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.03578/0.03581, allocations: 28.25 MB / 381.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.0474, allocations: 10.16 MB / 392 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.04791, allocations: 11.88 kB / 392 MB, free: 3.859 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.04855, allocations: 218.3 kB / 392.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.05019, allocations: 0.5894 MB / 392.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.05385, allocations: 1.498 MB / 394.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.05501, allocations: 0.9923 MB / 395.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.05564, allocations: 445.7 kB / 395.7 MB, free: 112 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.05639, allocations: 0.5966 MB / 396.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.057, allocations: 395 kB / 396.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.05717, allocations: 84 kB / 396.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.05948, allocations: 0.9942 MB / 397.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.05964, allocations: 195.3 kB / 398 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.05993, allocations: 315.3 kB / 398.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.06313, allocations: 1.86 MB / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.06314, allocations: 0 / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.06314, allocations: 0 / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.06316, allocations: 0 / 400.1 MB, free: 11.68 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.001868/0.06503, allocations: 1.262 MB / 401.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.06507, allocations: 8.031 kB / 401.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.06597, allocations: 359.2 kB / 401.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.06663, allocations: 450.1 kB / 402.2 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.06668, allocations: 50.38 kB / 402.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.0668, allocations: 72.36 kB / 402.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.06794, allocations: 0.6404 MB / 402.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.06796, allocations: 192 / 402.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.06803, allocations: 28.38 kB / 403 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.06805, allocations: 19.94 kB / 403 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.06932, allocations: 0.6595 MB / 403.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.07286, allocations: 2.106 MB / 405.8 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.07393, allocations: 0.7 MB / 406.5 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.07421, allocations: 185.6 kB / 406.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.07606, allocations: 1.482 MB / 408.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.07609, allocations: 41.89 kB / 408.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.593e-06/0.07609, allocations: 0 / 408.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=68): time 0.006548/0.08264, allocations: 2.57 MB / 410.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.08267, allocations: 56.06 kB / 410.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.08308, allocations: 0.5298 MB / 411.3 MB, free: 220 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.08312, allocations: 41.7 kB / 411.4 MB, free: 172 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1332/0.2163, allocations: 405.6 kB / 411.8 MB, free: 62.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.2165, allocations: 241.2 kB / 412 MB, free: 62.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.2167, allocations: 163.1 kB / 412.1 MB, free: 62.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2168, allocations: 0.5419 MB / 412.7 MB, free: 62.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.2171, allocations: 169.4 kB / 412.9 MB, free: 62.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.2175, allocations: 381.2 kB / 413.2 MB, free: 62.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.2181, allocations: 0.5888 MB / 413.8 MB, free: 61.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2181, allocations: 1.156 kB / 413.8 MB, free: 61.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001929/0.2201, allocations: 0.8754 MB / 414.7 MB, free: 61.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2201, allocations: 6.875 kB / 414.7 MB, free: 61.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2201, allocations: 8.844 kB / 414.7 MB, free: 61.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.2216, allocations: 354 kB / 415.1 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.2221, allocations: 192.5 kB / 415.2 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.2248, allocations: 4.571 MB / 419.8 MB, free: 57.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.2252, allocations: 22.28 kB / 419.8 MB, free: 57.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.2252, allocations: 36.45 kB / 419.9 MB, free: 57.01 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.0002078/0.2254, allocations: 204.7 kB / 420.1 MB, free: 56.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.2256, allocations: 80.16 kB / 420.1 MB, free: 56.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.2274, allocations: 0.854 MB / 421 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.2274, allocations: 8.094 kB / 421 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2274, allocations: 3.938 kB / 421 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.2274, allocations: 5.156 kB / 421 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.2302, allocations: 1.518 MB / 422.5 MB, free: 55.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2302, allocations: 2.719 kB / 422.5 MB, free: 55.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.2306, allocations: 142.5 kB / 422.7 MB, free: 55.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.2321, allocations: 347.9 kB / 423 MB, free: 55.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.2321, allocations: 23.05 kB / 423 MB, free: 55.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.2343, allocations: 4.513 MB / 427.6 MB, free: 51.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2343, allocations: 8.969 kB / 427.6 MB, free: 51.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2362, allocations: 1.131 MB / 428.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.2364, allocations: 116.9 kB / 428.8 MB, free: 50.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.2365, allocations: 17.28 kB / 428.8 MB, free: 50.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.2367, allocations: 12.91 kB / 428.8 MB, free: 50.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2368, allocations: 57.31 kB / 428.9 MB, free: 50.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.2368, allocations: 28.81 kB / 428.9 MB, free: 50.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002669/0.2371, allocations: 360.3 kB / 429.3 MB, free: 50.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2371, allocations: 0 / 429.3 MB, free: 50.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001005/0.2381, allocations: 444.1 kB / 429.7 MB, free: 50.52 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.0006769/0.2388, allocations: 0.5467 MB / 430.3 MB, free: 50.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.2397, allocations: 0.8817 MB / 431.1 MB, free: 49.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2397, allocations: 2.656 kB / 431.1 MB, free: 49.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.2401, allocations: 0.6239 MB / 431.8 MB, free: 49.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.2406, allocations: 170 kB / 431.9 MB, free: 49.49 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.001936/0.2426, allocations: 1.329 MB / 433.3 MB, free: 48.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.948e-05/0.2427, allocations: 147.6 kB / 433.4 MB, free: 48.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.243, allocations: 132.5 kB / 433.5 MB, free: 48.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.2431, allocations: 85.84 kB / 433.6 MB, free: 48.67 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.2431, allocations: 0 / 433.6 MB, free: 48.67 MB / 330.7 MB Notification: Performance of Templates: time 0.0176/0.2607, allocations: 18.79 MB / 452.4 MB, free: 32.08 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.533278184942901]