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.0009879/0.0009879, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002438, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.001071/0.001071, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002495, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 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.946/0.946, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07725/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.07679/0.07679, allocations: 17.36 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008841/0.08564, allocations: 6.928 MB / 268.4 MB, free: 6.422 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 1.263e-06/1.263e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.955e-06/9.218e-06, allocations: 2.312 kB / 269.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.118/0.118, allocations: 7.549 MB / 277.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.1362, allocations: 23.35 MB / 300.6 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.1369, allocations: 26.38 kB / 300.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008554/0.1378, allocations: 456.3 kB / 301.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.142, allocations: 1.963 MB / 303.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006854/0.1488, allocations: 3.031 MB / 306.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.1507, allocations: 2.188 MB / 308.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.1517, allocations: 1.093 MB / 309.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.1529, allocations: 1.572 MB / 311 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.154, allocations: 1.021 MB / 312 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.1542, allocations: 192 kB / 312.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.1585, allocations: 2.519 MB / 314.7 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.1588, allocations: 335 kB / 315 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.1592, allocations: 0.5381 MB / 315.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.1631, allocations: 4.047 MB / 319.6 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.1631, allocations: 3.984 kB / 319.6 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1631, allocations: 0 / 319.6 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.1631, allocations: 0 / 319.6 MB, free: 0.5859 MB / 298.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.002998/0.1661, allocations: 2.957 MB / 322.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1662, allocations: 8.031 kB / 322.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1673, allocations: 0.7072 MB / 323.3 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.1681, allocations: 0.6533 MB / 323.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.1682, allocations: 222.2 kB / 324.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1684, allocations: 152.3 kB / 324.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.1697, allocations: 1.366 MB / 325.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.1697, allocations: 4.188 kB / 325.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.1698, allocations: 64.12 kB / 325.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1698, allocations: 36 kB / 325.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.171, allocations: 1.198 MB / 327 MB, free: 9.059 MB / 314.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.004672/0.1757, allocations: 3.755 MB / 330.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.1784, allocations: 2.893 MB / 333.6 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.1788, allocations: 394.9 kB / 334 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003833/0.1826, allocations: 3.149 MB / 337.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1826, allocations: 47.56 kB / 337.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003665/0.183, allocations: 195 kB / 337.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.886e-06/0.183, allocations: 0 / 337.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.008867/0.1919, allocations: 4.115 MB / 341.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1919, allocations: 64.72 kB / 341.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.1924, allocations: 0.8015 MB / 342.4 MB, free: 9.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.1925, allocations: 49.7 kB / 342.4 MB, free: 9.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.1927, allocations: 0.6113 MB / 343 MB, free: 8.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.193, allocations: 0.4918 MB / 343.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.1932, allocations: 319.3 kB / 343.8 MB, free: 8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1933, allocations: 357.8 kB / 344.2 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1936, allocations: 228 kB / 344.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.194, allocations: 0.6852 MB / 345.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.1949, allocations: 1.156 MB / 346.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1949, allocations: 7.938 kB / 346.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.002075/0.197, allocations: 1.269 MB / 347.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.197, allocations: 12 kB / 347.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.197, allocations: 15.94 kB / 347.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.1985, allocations: 473.2 kB / 348 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.1994, allocations: 0.4915 MB / 348.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.2023, allocations: 3.011 MB / 351.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.2032, allocations: 52 kB / 351.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.2033, allocations: 75.89 kB / 351.6 MB, free: 15.61 MB / 346.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 (208): * Single equations (assignments): 205 * 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.000336/0.2037, allocations: 216.1 kB / 351.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2039, allocations: 111.9 kB / 352 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.2062, allocations: 1.263 MB / 353.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2063, allocations: 16 kB / 353.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2063, allocations: 4 kB / 353.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.2063, allocations: 11.91 kB / 353.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.2096, allocations: 1.812 MB / 355.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2096, allocations: 0 / 355.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.2103, allocations: 327.6 kB / 355.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2104, allocations: 103.1 kB / 355.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.2119, allocations: 465.9 kB / 355.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.212, allocations: 43.95 kB / 356 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.2144, allocations: 2.917 MB / 358.9 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2144, allocations: 0 / 358.9 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.2167, allocations: 1.445 MB / 360.3 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.2169, allocations: 28.06 kB / 360.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.2172, allocations: 24 kB / 360.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.2174, allocations: 125.1 kB / 360.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.2175, allocations: 51.97 kB / 360.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.2178, allocations: 363.3 kB / 360.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2178, allocations: 0 / 360.9 MB, free: 6.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002108/0.2199, allocations: 0.9506 MB / 361.9 MB, free: 5.098 MB / 346.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 (140): * Single equations (assignments): 137 * 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.001877/0.2218, allocations: 1.206 MB / 363.1 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.2234, allocations: 1.164 MB / 364.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.846e-05/0.2234, allocations: 29.69 kB / 364.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.2244, allocations: 0.7961 MB / 365.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2257, allocations: 1.678 MB / 366.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.2359, allocations: 2.433 MB / 369.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.2361, allocations: 265.4 kB / 369.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008443/0.237, allocations: 289.7 kB / 369.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/0.2376, allocations: 413 kB / 370.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2376, allocations: 4 kB / 370.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.03904/0.2767, allocations: 39.65 MB / 409.8 MB, free: 5.145 MB / 394.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.6541357608512044]