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.001202/0.001202, allocations: 93.06 kB / 19.65 MB, free: 280 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.000908/0.000908, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9705/0.9705, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.09162/0.09162, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.172e-06/1.172e-06, allocations: 0 / 353.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.575e-05, allocations: 2.312 kB / 353.4 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006371/0.006387, allocations: 7.582 MB / 361 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.02484, allocations: 23.49 MB / 384.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.02559, allocations: 23.81 kB / 384.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.02646, allocations: 448.4 kB / 385 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.03056, allocations: 1.994 MB / 387 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006331/0.0369, allocations: 3.067 MB / 390 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.03883, allocations: 2.199 MB / 392.2 MB, free: 3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.03992, allocations: 1.065 MB / 393.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.04126, allocations: 1.498 MB / 394.8 MB, free: 408 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.04247, allocations: 1.017 MB / 395.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.04272, allocations: 192 kB / 396 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.04714, allocations: 2.413 MB / 398.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.04751, allocations: 486.5 kB / 398.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.04815, allocations: 0.6978 MB / 399.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004889/0.05303, allocations: 4.451 MB / 404 MB, free: 7.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.05304, allocations: 0 / 404 MB, free: 7.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.05304, allocations: 0 / 404 MB, free: 7.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.05305, allocations: 0 / 404 MB, free: 7.129 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.003302/0.05636, allocations: 2.47 MB / 406.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.0564, allocations: 8.031 kB / 406.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.058, allocations: 0.6535 MB / 407.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.05924, allocations: 0.8575 MB / 408 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.05939, allocations: 214.3 kB / 408.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.05962, allocations: 160.3 kB / 408.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.06188, allocations: 1.502 MB / 409.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.0619, allocations: 192 / 409.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.06204, allocations: 68.11 kB / 410 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.06207, allocations: 32 kB / 410 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1253/0.1874, allocations: 1.625 MB / 411.6 MB, free: 58.62 MB / 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.006068/0.1935, allocations: 4.907 MB / 416.5 MB, free: 57.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.1969, allocations: 3.091 MB / 419.6 MB, free: 57.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.1976, allocations: 0.5233 MB / 420.1 MB, free: 56.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003926/0.2015, allocations: 3.713 MB / 423.9 MB, free: 55.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2015, allocations: 46.67 kB / 423.9 MB, free: 55.44 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003865/0.2019, allocations: 193.5 kB / 424.1 MB, free: 55.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.334e-06/0.2019, allocations: 0 / 424.1 MB, free: 55.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008777/0.2107, allocations: 4.204 MB / 428.3 MB, free: 53.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.2107, allocations: 69.59 kB / 428.4 MB, free: 53.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.2113, allocations: 0.8639 MB / 429.2 MB, free: 53.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.2113, allocations: 46.3 kB / 429.3 MB, free: 53.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.2116, allocations: 0.7671 MB / 430 MB, free: 52.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.2118, allocations: 0.4911 MB / 430.5 MB, free: 51.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.2121, allocations: 341 kB / 430.9 MB, free: 51.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.2122, allocations: 0.5322 MB / 431.4 MB, free: 51.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.2126, allocations: 348.4 kB / 431.7 MB, free: 50.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.2132, allocations: 0.973 MB / 432.7 MB, free: 49.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2143, allocations: 1.449 MB / 434.2 MB, free: 47.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2143, allocations: 7.812 kB / 434.2 MB, free: 47.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002804/0.2171, allocations: 1.79 MB / 436 MB, free: 46.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2171, allocations: 12 kB / 436 MB, free: 46.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2171, allocations: 12 kB / 436 MB, free: 46.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.2188, allocations: 0.493 MB / 436.5 MB, free: 45.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.2195, allocations: 420.1 kB / 436.9 MB, free: 45.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.2219, allocations: 4.377 MB / 441.3 MB, free: 40.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.2224, allocations: 52 kB / 441.3 MB, free: 40.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.719e-05/0.2225, allocations: 91.95 kB / 441.4 MB, free: 40.54 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.0002404/0.2227, allocations: 268.8 kB / 441.7 MB, free: 40.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.2229, allocations: 163.2 kB / 441.8 MB, free: 40.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.2257, allocations: 1.653 MB / 443.5 MB, free: 38.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2257, allocations: 16 kB / 443.5 MB, free: 38.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2257, allocations: 0 / 443.5 MB, free: 38.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.2257, allocations: 11.97 kB / 443.5 MB, free: 38.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.2292, allocations: 2.596 MB / 446.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2292, allocations: 2.625 kB / 446.1 MB, free: 35.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.2298, allocations: 273.7 kB / 446.4 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.2313, allocations: 479.1 kB / 446.8 MB, free: 35.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.2314, allocations: 47.97 kB / 446.9 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.2334, allocations: 4.274 MB / 451.2 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2334, allocations: 0 / 451.2 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.2362, allocations: 1.963 MB / 453.1 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.2363, allocations: 105.5 kB / 453.2 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.2364, allocations: 24 kB / 453.2 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.2367, allocations: 36.05 kB / 453.3 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2369, allocations: 129.1 kB / 453.4 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.2369, allocations: 55.95 kB / 453.5 MB, free: 28.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.2372, allocations: 0.5185 MB / 454 MB, free: 27.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2372, allocations: 4 kB / 454 MB, free: 27.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001419/0.2387, allocations: 0.9518 MB / 454.9 MB, free: 26.89 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.001127/0.2398, allocations: 1.158 MB / 456.1 MB, free: 25.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.2414, allocations: 1.509 MB / 457.6 MB, free: 24.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2414, allocations: 4.438 kB / 457.6 MB, free: 24.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.2421, allocations: 0.946 MB / 458.5 MB, free: 23.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.2428, allocations: 314 kB / 458.9 MB, free: 23.08 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.00282/0.2456, allocations: 2.418 MB / 461.3 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2457, allocations: 269.8 kB / 461.5 MB, free: 20.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005726/0.2463, allocations: 307.7 kB / 461.8 MB, free: 20.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.2466, allocations: 200.4 kB / 462 MB, free: 19.84 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2466, allocations: 4 kB / 462 MB, free: 19.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02909/0.2757, allocations: 34.64 MB / 496.7 MB, free: 1.523 MB / 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.9848642079159617]