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.0008765/0.0008765, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009568/0.0009568, allocations: 169 kB / 23.02 MB, free: 1.543 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.9741/0.9741, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.09413/0.09413, allocations: 17.38 MB / 277.3 MB, free: 11.62 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.293e-06/1.293e-06, allocations: 0 / 353.4 MB, free: 9.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.25e-05, allocations: 4.703 kB / 353.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.006039/0.006061, allocations: 7.58 MB / 361 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.02344, allocations: 23.49 MB / 384.5 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.0244, allocations: 23.81 kB / 384.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.0254, allocations: 456.4 kB / 385 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.02921, allocations: 1.982 MB / 387 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00537/0.03458, allocations: 3.071 MB / 390 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.03678, allocations: 2.199 MB / 392.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.03788, allocations: 1.069 MB / 393.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.03936, allocations: 1.486 MB / 394.8 MB, free: 412 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.04093, allocations: 1.029 MB / 395.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.04131, allocations: 192 kB / 396 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005079/0.04639, allocations: 2.405 MB / 398.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.04686, allocations: 486.5 kB / 398.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007584/0.04762, allocations: 0.7056 MB / 399.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007956/0.05558, allocations: 4.447 MB / 404 MB, free: 7.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.05558, allocations: 0 / 404 MB, free: 7.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05558, allocations: 4 kB / 404 MB, free: 7.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.002e-05/0.05563, allocations: 0 / 404 MB, free: 7.121 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.003205/0.05884, allocations: 2.47 MB / 406.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.05888, allocations: 12.03 kB / 406.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.06023, allocations: 0.6573 MB / 407.2 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.06124, allocations: 0.8459 MB / 408 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.06136, allocations: 222.2 kB / 408.2 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.06154, allocations: 148.3 kB / 408.4 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.06353, allocations: 1.51 MB / 409.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.06355, allocations: 192 / 409.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.06393, allocations: 60.12 kB / 410 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.06395, allocations: 36 kB / 410 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1306/0.1946, allocations: 1.622 MB / 411.6 MB, free: 58.61 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.006615/0.2012, allocations: 4.911 MB / 416.5 MB, free: 57.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/0.2048, allocations: 3.086 MB / 419.6 MB, free: 57.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.2055, allocations: 0.5245 MB / 420.1 MB, free: 56.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004164/0.2097, allocations: 3.716 MB / 423.9 MB, free: 55.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2097, allocations: 44.64 kB / 423.9 MB, free: 55.41 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004162/0.2101, allocations: 193 kB / 424.1 MB, free: 55.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.587e-06/0.2101, allocations: 0 / 424.1 MB, free: 55.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008899/0.219, allocations: 4.209 MB / 428.3 MB, free: 53.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.219, allocations: 64.72 kB / 428.4 MB, free: 53.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.2197, allocations: 0.8666 MB / 429.2 MB, free: 53.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.2197, allocations: 49.7 kB / 429.3 MB, free: 52.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.22, allocations: 0.757 MB / 430 MB, free: 52.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.2203, allocations: 0.4978 MB / 430.5 MB, free: 51.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.2206, allocations: 337.1 kB / 430.9 MB, free: 51.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2207, allocations: 0.5334 MB / 431.4 MB, free: 51.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.2212, allocations: 351.8 kB / 431.7 MB, free: 50.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.2218, allocations: 0.9758 MB / 432.7 MB, free: 49.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.223, allocations: 1.445 MB / 434.2 MB, free: 47.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.223, allocations: 4 kB / 434.2 MB, free: 47.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002999/0.226, allocations: 1.795 MB / 436 MB, free: 46.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.226, allocations: 12 kB / 436 MB, free: 46.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.226, allocations: 12 kB / 436 MB, free: 46.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.2277, allocations: 0.4925 MB / 436.5 MB, free: 45.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.2284, allocations: 422.6 kB / 436.9 MB, free: 45.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.2309, allocations: 4.373 MB / 441.3 MB, free: 40.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.2314, allocations: 55.98 kB / 441.3 MB, free: 40.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.2315, allocations: 87.97 kB / 441.4 MB, free: 40.48 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.0002942/0.2318, allocations: 269.6 kB / 441.7 MB, free: 40.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.232, allocations: 163.2 kB / 441.8 MB, free: 40.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.2346, allocations: 1.658 MB / 443.5 MB, free: 38.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.2346, allocations: 12 kB / 443.5 MB, free: 38.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2346, allocations: 4 kB / 443.5 MB, free: 38.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2347, allocations: 10.22 kB / 443.5 MB, free: 38.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.2385, allocations: 2.599 MB / 446.1 MB, free: 35.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2385, allocations: 4 kB / 446.1 MB, free: 35.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.239, allocations: 274.2 kB / 446.4 MB, free: 35.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.2406, allocations: 477.4 kB / 446.8 MB, free: 35.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.2406, allocations: 47.97 kB / 446.9 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.2427, allocations: 4.268 MB / 451.2 MB, free: 30.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2427, allocations: 0 / 451.2 MB, free: 30.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.2461, allocations: 1.965 MB / 453.1 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.2463, allocations: 109.3 kB / 453.2 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2464, allocations: 24 kB / 453.3 MB, free: 28.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.2468, allocations: 36.06 kB / 453.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.2469, allocations: 129.1 kB / 453.4 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.247, allocations: 55.97 kB / 453.5 MB, free: 28.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.2473, allocations: 0.5146 MB / 454 MB, free: 27.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2473, allocations: 0 / 454 MB, free: 27.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001752/0.2491, allocations: 0.9557 MB / 454.9 MB, free: 26.84 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.001538/0.2506, allocations: 1.153 MB / 456.1 MB, free: 25.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.2527, allocations: 1.516 MB / 457.6 MB, free: 24.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.2527, allocations: 0 / 457.6 MB, free: 24.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009465/0.2536, allocations: 0.9516 MB / 458.6 MB, free: 23.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.2544, allocations: 301.2 kB / 458.9 MB, free: 23.02 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.003522/0.258, allocations: 2.424 MB / 461.3 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2581, allocations: 269.8 kB / 461.5 MB, free: 20.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008028/0.2589, allocations: 314.7 kB / 461.8 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.2592, allocations: 208.3 kB / 462.1 MB, free: 19.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2592, allocations: 0 / 462.1 MB, free: 19.77 MB / 330.7 MB Notification: Performance of Templates: time 0.03661/0.2959, allocations: 38.98 MB / 0.4893 GB, free: 13.2 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.886583285406232]