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.0009628/0.0009628, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.00107/0.00107, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9484/0.9484, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0982/0.0982, allocations: 17.38 MB / 278.4 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.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.292e-06/1.292e-06, allocations: 0 / 354.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.416e-05, allocations: 2.312 kB / 354.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006789/0.006814, allocations: 7.435 MB / 362.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.02568, allocations: 22.83 MB / 384.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.02674, allocations: 23.81 kB / 385 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.02777, allocations: 452.5 kB / 385.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.03216, allocations: 1.993 MB / 387.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007262/0.03942, allocations: 3.063 MB / 390.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.04226, allocations: 2.203 MB / 392.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.04358, allocations: 1.057 MB / 393.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.04514, allocations: 1.498 MB / 395.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.04635, allocations: 1.021 MB / 396.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.04661, allocations: 196 kB / 396.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.05192, allocations: 2.409 MB / 398.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.05236, allocations: 486.5 kB / 399.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008631/0.05323, allocations: 0.7016 MB / 400 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008804/0.06203, allocations: 4.443 MB / 404.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.06204, allocations: 0 / 404.5 MB, free: 7.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.06204, allocations: 7.938 kB / 404.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.06206, allocations: 0 / 404.5 MB, free: 7.648 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.00319/0.06525, allocations: 2.473 MB / 406.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.06529, allocations: 8.031 kB / 407 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.06663, allocations: 0.6613 MB / 407.6 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.06763, allocations: 0.8381 MB / 408.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.06776, allocations: 218.3 kB / 408.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.06794, allocations: 148.3 kB / 408.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.06936, allocations: 1.369 MB / 410.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.06939, allocations: 192 / 410.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.0695, allocations: 64.12 kB / 410.2 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.06952, allocations: 36 kB / 410.3 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.07098, allocations: 1.377 MB / 411.7 MB, free: 308 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.1469/0.2179, allocations: 4.752 MB / 416.4 MB, free: 57.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.222, allocations: 2.974 MB / 419.4 MB, free: 57.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.2226, allocations: 451.1 kB / 419.8 MB, free: 57.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005035/0.2277, allocations: 3.705 MB / 423.5 MB, free: 55.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.2277, allocations: 50.83 kB / 423.6 MB, free: 55.63 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005009/0.2282, allocations: 191.7 kB / 423.8 MB, free: 55.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 4.258e-06/0.2282, allocations: 0 / 423.8 MB, free: 55.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008877/0.2371, allocations: 3.681 MB / 427.4 MB, free: 54.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2371, allocations: 67.47 kB / 427.5 MB, free: 54.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.2377, allocations: 0.8437 MB / 428.4 MB, free: 54.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.2378, allocations: 53.11 kB / 428.4 MB, free: 54.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.2381, allocations: 0.7525 MB / 429.2 MB, free: 53.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.2384, allocations: 0.5022 MB / 429.7 MB, free: 53.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.2387, allocations: 345.1 kB / 430 MB, free: 53.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.2388, allocations: 0.5403 MB / 430.5 MB, free: 52.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.2391, allocations: 269 kB / 430.8 MB, free: 52.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.2396, allocations: 0.9114 MB / 431.7 MB, free: 51.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/0.2405, allocations: 1.309 MB / 433 MB, free: 50.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.2405, allocations: 4 kB / 433 MB, free: 50.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002627/0.2432, allocations: 1.623 MB / 434.7 MB, free: 48.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2432, allocations: 12 kB / 434.7 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.2432, allocations: 12 kB / 434.7 MB, free: 48.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.2449, allocations: 494.2 kB / 435.2 MB, free: 48.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.2456, allocations: 420.9 kB / 435.6 MB, free: 47.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.2482, allocations: 4.317 MB / 439.9 MB, free: 43.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.2491, allocations: 52 kB / 439.9 MB, free: 43.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/0.2492, allocations: 83.95 kB / 440 MB, free: 43.11 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.0003784/0.2495, allocations: 265 kB / 440.3 MB, free: 42.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.2498, allocations: 165.4 kB / 440.4 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.2524, allocations: 1.5 MB / 441.9 MB, free: 41.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2524, allocations: 19.94 kB / 442 MB, free: 41.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2524, allocations: 3.984 kB / 442 MB, free: 41.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.2524, allocations: 3.984 kB / 442 MB, free: 41.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.2559, allocations: 2.309 MB / 444.3 MB, free: 38.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2559, allocations: 3.984 kB / 444.3 MB, free: 38.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.2565, allocations: 277.6 kB / 444.6 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.2581, allocations: 469.2 kB / 445 MB, free: 38.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.2582, allocations: 47.97 kB / 445.1 MB, free: 38.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.2604, allocations: 4.216 MB / 449.3 MB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2604, allocations: 3.75 kB / 449.3 MB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.2632, allocations: 1.757 MB / 451 MB, free: 32.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.2635, allocations: 107.2 kB / 451.1 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2636, allocations: 28.06 kB / 451.2 MB, free: 31.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.264, allocations: 28 kB / 451.2 MB, free: 31.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.2641, allocations: 133.1 kB / 451.3 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.2642, allocations: 43.97 kB / 451.4 MB, free: 31.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.2645, allocations: 483.7 kB / 451.8 MB, free: 31.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2645, allocations: 0 / 451.8 MB, free: 31.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001979/0.2665, allocations: 0.9528 MB / 452.8 MB, free: 30.48 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.001435/0.2679, allocations: 1.225 MB / 454 MB, free: 29.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.2696, allocations: 1.361 MB / 455.4 MB, free: 28.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2696, allocations: 0 / 455.4 MB, free: 28.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.2704, allocations: 0.8786 MB / 456.3 MB, free: 27.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.2713, allocations: 294.6 kB / 456.5 MB, free: 26.88 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.003626/0.2749, allocations: 2.385 MB / 458.9 MB, free: 24.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.275, allocations: 265.9 kB / 459.2 MB, free: 24.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007498/0.2758, allocations: 294.6 kB / 459.5 MB, free: 23.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/0.2764, allocations: 461.9 kB / 459.9 MB, free: 23.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/0.2764, allocations: 3.719 kB / 459.9 MB, free: 23.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03742/0.3138, allocations: 40.07 MB / 500 MB, free: 15.8 MB / 362.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.978228210937232]