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.0009365/0.0009365, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008857/0.0008857, allocations: 173 kB / 23.49 MB, free: 1.055 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.957/0.957, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.08703/0.08703, allocations: 17.38 MB / 277.7 MB, free: 11.73 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.883e-06/1.883e-06, allocations: 0 / 353.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.197e-05, allocations: 2.312 kB / 353.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01009/0.01012, allocations: 7.547 MB / 361 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.03249, allocations: 23.45 MB / 384.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.03371, allocations: 23.81 kB / 384.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.03495, allocations: 448.4 kB / 384.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.04013, allocations: 1.99 MB / 386.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006967/0.0471, allocations: 3.059 MB / 390 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.04993, allocations: 2.203 MB / 392.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.05132, allocations: 1.069 MB / 393.2 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.05308, allocations: 1.494 MB / 394.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.05461, allocations: 1.017 MB / 395.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.0549, allocations: 196 kB / 395.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005831/0.06073, allocations: 2.413 MB / 398.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.06119, allocations: 490.5 kB / 398.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.06199, allocations: 0.6978 MB / 399.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008356/0.07035, allocations: 4.447 MB / 404 MB, free: 7.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.07036, allocations: 0 / 404 MB, free: 7.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07036, allocations: 0 / 404 MB, free: 7.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.07038, allocations: 0 / 404 MB, free: 7.555 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.003683/0.07407, allocations: 2.47 MB / 406.4 MB, free: 5.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.07411, allocations: 8.031 kB / 406.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.07592, allocations: 0.6574 MB / 407.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.07718, allocations: 0.8536 MB / 408 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.07733, allocations: 218.3 kB / 408.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.07756, allocations: 156.2 kB / 408.3 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.07986, allocations: 1.502 MB / 409.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.07989, allocations: 192 / 409.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.08004, allocations: 64.12 kB / 409.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.08007, allocations: 36 kB / 409.9 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1222/0.2022, allocations: 1.623 MB / 411.5 MB, free: 65.16 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.007059/0.2093, allocations: 4.908 MB / 416.5 MB, free: 63.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.2131, allocations: 3.089 MB / 419.5 MB, free: 62.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.2139, allocations: 0.5237 MB / 420.1 MB, free: 62.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004652/0.2185, allocations: 3.723 MB / 423.8 MB, free: 60.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2185, allocations: 45.92 kB / 423.8 MB, free: 60.89 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000486/0.219, allocations: 189.5 kB / 424 MB, free: 60.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.988e-06/0.219, allocations: 3 kB / 424 MB, free: 60.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.00946/0.2285, allocations: 4.209 MB / 428.2 MB, free: 58.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.2285, allocations: 72.55 kB / 428.3 MB, free: 58.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.2291, allocations: 0.8635 MB / 429.2 MB, free: 57.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.2292, allocations: 49.7 kB / 429.2 MB, free: 57.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.2294, allocations: 0.757 MB / 430 MB, free: 56.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.2296, allocations: 0.4977 MB / 430.5 MB, free: 56.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.2299, allocations: 337.1 kB / 430.8 MB, free: 55.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.23, allocations: 0.5316 MB / 431.3 MB, free: 55.15 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.2305, allocations: 347.8 kB / 431.7 MB, free: 54.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.2311, allocations: 0.9803 MB / 432.7 MB, free: 53.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2323, allocations: 1.447 MB / 434.1 MB, free: 51.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2323, allocations: 4 kB / 434.1 MB, free: 51.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002945/0.2352, allocations: 1.794 MB / 435.9 MB, free: 50.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2352, allocations: 15.97 kB / 435.9 MB, free: 50.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.2352, allocations: 12 kB / 435.9 MB, free: 50.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.2369, allocations: 492.2 kB / 436.4 MB, free: 49.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.2377, allocations: 420.2 kB / 436.8 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.2402, allocations: 4.375 MB / 441.2 MB, free: 44.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.2409, allocations: 52 kB / 441.2 MB, free: 44.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/0.241, allocations: 95.98 kB / 441.3 MB, free: 44.41 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.0003253/0.2414, allocations: 264.6 kB / 441.6 MB, free: 44.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.2416, allocations: 166.2 kB / 441.8 MB, free: 43.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.2444, allocations: 1.648 MB / 443.4 MB, free: 42.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.2444, allocations: 19.98 kB / 443.4 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.2444, allocations: 0 / 443.4 MB, free: 42.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2444, allocations: 15.92 kB / 443.4 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.2484, allocations: 2.584 MB / 446 MB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2484, allocations: 3.938 kB / 446 MB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.249, allocations: 275.7 kB / 446.3 MB, free: 39.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.2506, allocations: 471 kB / 446.8 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.2507, allocations: 47.95 kB / 446.8 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.2528, allocations: 4.289 MB / 451.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2528, allocations: 0 / 451.1 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.2558, allocations: 1.966 MB / 453.1 MB, free: 32.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.2559, allocations: 110.8 kB / 453.2 MB, free: 32.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.256, allocations: 28 kB / 453.2 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.2564, allocations: 28 kB / 453.2 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.2566, allocations: 129.1 kB / 453.3 MB, free: 32.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.2566, allocations: 55.97 kB / 453.4 MB, free: 32.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.257, allocations: 0.5146 MB / 453.9 MB, free: 31.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.257, allocations: 0 / 453.9 MB, free: 31.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00172/0.2587, allocations: 0.9562 MB / 454.9 MB, free: 30.62 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.001284/0.26, allocations: 1.167 MB / 456 MB, free: 29.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.2619, allocations: 1.505 MB / 457.5 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2619, allocations: 8.188 kB / 457.6 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.2627, allocations: 0.9499 MB / 458.5 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.2635, allocations: 297.8 kB / 458.8 MB, free: 26.77 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.003336/0.2668, allocations: 2.42 MB / 461.2 MB, free: 24.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2669, allocations: 261.7 kB / 461.5 MB, free: 24.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007048/0.2677, allocations: 316.2 kB / 461.8 MB, free: 23.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.268, allocations: 212.3 kB / 462 MB, free: 23.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.268, allocations: 4 kB / 462 MB, free: 23.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03146/0.2994, allocations: 34.75 MB / 496.7 MB, free: 5.039 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.8956367939244956]