Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.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.001326/0.001326, allocations: 81.17 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.001668/0.001668, allocations: 169 kB / 23.27 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.9297/0.9297, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.08541/0.08541, allocations: 17.37 MB / 277.6 MB, free: 11.5 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.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 4 kB / 353.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.62e-05, allocations: 2.312 kB / 353.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007887/0.007914, allocations: 7.427 MB / 361.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.02465, allocations: 22.83 MB / 384.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.02573, allocations: 27.75 kB / 384.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.02676, allocations: 448.5 kB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.03093, allocations: 1.99 MB / 386.6 MB, free: 8.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005637/0.03656, allocations: 3.063 MB / 389.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.03879, allocations: 2.203 MB / 391.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.04008, allocations: 1.069 MB / 392.9 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.04186, allocations: 1.486 MB / 394.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.0431, allocations: 1.029 MB / 395.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.04342, allocations: 192 kB / 395.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/0.04832, allocations: 2.405 MB / 398.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.04877, allocations: 494.5 kB / 398.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.04957, allocations: 0.7017 MB / 399.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.05715, allocations: 4.447 MB / 403.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.05715, allocations: 0 / 403.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05715, allocations: 0 / 403.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.587e-05/0.0572, allocations: 0 / 403.7 MB, free: 7.66 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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.003091/0.06029, allocations: 2.477 MB / 406.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.06033, allocations: 12.03 kB / 406.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.06157, allocations: 0.6535 MB / 406.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.06255, allocations: 0.842 MB / 407.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.06266, allocations: 218.2 kB / 407.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.06283, allocations: 152.3 kB / 408 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.06423, allocations: 1.365 MB / 409.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.06425, allocations: 192 / 409.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.06434, allocations: 64.12 kB / 409.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.06436, allocations: 39.98 kB / 409.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.06574, allocations: 1.377 MB / 410.9 MB, free: 312 kB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/0.1856, allocations: 4.748 MB / 415.6 MB, free: 57.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.1889, allocations: 2.977 MB / 418.6 MB, free: 57.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.1895, allocations: 456 kB / 419 MB, free: 57.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004545/0.1941, allocations: 3.744 MB / 422.8 MB, free: 55.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1941, allocations: 49.52 kB / 422.8 MB, free: 55.71 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000418/0.1945, allocations: 192.5 kB / 423 MB, free: 55.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.897e-06/0.1945, allocations: 0 / 423 MB, free: 55.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.007822/0.2023, allocations: 3.679 MB / 426.7 MB, free: 54.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.2024, allocations: 67.66 kB / 426.8 MB, free: 54.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.2029, allocations: 0.8469 MB / 427.6 MB, free: 54.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.203, allocations: 51.17 kB / 427.7 MB, free: 54.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.2032, allocations: 0.7605 MB / 428.4 MB, free: 53.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.2035, allocations: 0.5036 MB / 428.9 MB, free: 53.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.2038, allocations: 340.2 kB / 429.3 MB, free: 53.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2039, allocations: 0.5444 MB / 429.8 MB, free: 52.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.2043, allocations: 267.8 kB / 430.1 MB, free: 52.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.2047, allocations: 0.9082 MB / 431 MB, free: 51.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.2056, allocations: 1.312 MB / 432.3 MB, free: 50.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.2056, allocations: 6.531 kB / 432.3 MB, free: 50.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002441/0.208, allocations: 1.617 MB / 433.9 MB, free: 48.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.208, allocations: 13.94 kB / 433.9 MB, free: 48.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.208, allocations: 16 kB / 433.9 MB, free: 48.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.2096, allocations: 493.4 kB / 434.4 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/0.2105, allocations: 420.1 kB / 434.8 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.2133, allocations: 4.33 MB / 439.2 MB, free: 43.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008888/0.2142, allocations: 52 kB / 439.2 MB, free: 43.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.2143, allocations: 79.95 kB / 439.3 MB, free: 43.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (212): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003715/0.2147, allocations: 263.3 kB / 439.5 MB, free: 42.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.2149, allocations: 163.2 kB / 439.7 MB, free: 42.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.218, allocations: 1.502 MB / 441.2 MB, free: 41.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.218, allocations: 15.94 kB / 441.2 MB, free: 41.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.218, allocations: 4 kB / 441.2 MB, free: 41.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.218, allocations: 7.969 kB / 441.2 MB, free: 41.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.2222, allocations: 2.316 MB / 443.6 MB, free: 39.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2222, allocations: 0 / 443.6 MB, free: 39.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.2229, allocations: 281.2 kB / 443.8 MB, free: 38.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.2248, allocations: 462.1 kB / 444.3 MB, free: 38.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.2249, allocations: 55.14 kB / 444.3 MB, free: 38.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.2274, allocations: 4.218 MB / 448.6 MB, free: 33.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2274, allocations: 0 / 448.6 MB, free: 33.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.2307, allocations: 1.758 MB / 450.3 MB, free: 32.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.2309, allocations: 108.8 kB / 450.4 MB, free: 31.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.231, allocations: 24 kB / 450.4 MB, free: 31.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2314, allocations: 32 kB / 450.5 MB, free: 31.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.2316, allocations: 129.1 kB / 450.6 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.2317, allocations: 43.97 kB / 450.6 MB, free: 31.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000325/0.2321, allocations: 482.7 kB / 451.1 MB, free: 31.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2321, allocations: 0 / 451.1 MB, free: 31.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00217/0.2342, allocations: 0.9605 MB / 452.1 MB, free: 30.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (solution.temperature,HCO3.logn,H.logn,CO2_liquid.logn,liquidWater.logn,OH.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 (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.2358, allocations: 1.207 MB / 453.3 MB, free: 29.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.2376, allocations: 1.363 MB / 454.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2376, allocations: 0 / 454.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.2385, allocations: 0.883 MB / 455.5 MB, free: 27.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.2395, allocations: 312 kB / 455.8 MB, free: 26.9 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.003809/0.2433, allocations: 2.377 MB / 458.2 MB, free: 24.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2435, allocations: 265.9 kB / 458.5 MB, free: 24.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009282/0.2444, allocations: 298.3 kB / 458.8 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/0.2452, allocations: 465.9 kB / 459.2 MB, free: 23.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2452, allocations: 0 / 459.2 MB, free: 23.48 MB / 330.7 MB Notification: Performance of Templates: time 0.04281/0.288, allocations: 39.56 MB / 498.8 MB, free: 308 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8559776600450277]