Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001067/0.001067, 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.001394/0.001394, allocations: 177 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.9671/0.9671, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1047/0.1047, allocations: 17.46 MB / 277.7 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") translateModel(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 353.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.263e-05, allocations: 2.312 kB / 353.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01049/0.01052, allocations: 7.533 MB / 361.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.03153, allocations: 23.45 MB / 384.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.03262, allocations: 23.81 kB / 384.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.03376, allocations: 452.4 kB / 385 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.03831, allocations: 1.986 MB / 387 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006611/0.04492, allocations: 3.067 MB / 390.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009009/0.05393, allocations: 2.199 MB / 392.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007641/0.06157, allocations: 1.073 MB / 393.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.0636, allocations: 1.486 MB / 394.8 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007724/0.07132, allocations: 1.033 MB / 395.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.07173, allocations: 192 kB / 396.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/0.09023, allocations: 2.405 MB / 398.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006788/0.09702, allocations: 486.5 kB / 398.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.09814, allocations: 0.7017 MB / 399.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01898/0.1171, allocations: 4.443 MB / 404.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1171, allocations: 0 / 404.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1171, allocations: 4 kB / 404.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.593e-05/0.1172, allocations: 0 / 404.1 MB, free: 7.414 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.004924/0.1221, allocations: 2.474 MB / 406.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1221, allocations: 8.031 kB / 406.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.1244, allocations: 0.6576 MB / 407.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.1261, allocations: 0.842 MB / 408.1 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.1263, allocations: 222.2 kB / 408.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.1265, allocations: 152.3 kB / 408.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.1294, allocations: 1.506 MB / 409.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.1294, allocations: 192 / 409.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.1296, allocations: 64.12 kB / 410 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.1296, allocations: 36 kB / 410 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1554/0.285, allocations: 1.621 MB / 411.7 MB, free: 37.49 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.007205/0.2922, allocations: 4.907 MB / 416.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.296, allocations: 3.09 MB / 419.7 MB, free: 36.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.2968, allocations: 0.528 MB / 420.2 MB, free: 36.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004932/0.3018, allocations: 3.715 MB / 423.9 MB, free: 35.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3018, allocations: 49.02 kB / 423.9 MB, free: 35.61 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005149/0.3023, allocations: 198.1 kB / 424.1 MB, free: 35.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 4.869e-06/0.3023, allocations: 0 / 424.1 MB, free: 35.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.009939/0.3123, allocations: 4.195 MB / 428.3 MB, free: 35.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3123, allocations: 68.25 kB / 428.4 MB, free: 34.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.3132, allocations: 0.8643 MB / 429.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/0.3133, allocations: 53.25 kB / 429.3 MB, free: 34.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.3137, allocations: 0.758 MB / 430.1 MB, free: 34.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.314, allocations: 0.4922 MB / 430.6 MB, free: 33.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.3143, allocations: 339.3 kB / 430.9 MB, free: 33.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3145, allocations: 0.5332 MB / 431.4 MB, free: 33.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.315, allocations: 350.8 kB / 431.8 MB, free: 33.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.3157, allocations: 0.9768 MB / 432.7 MB, free: 32.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.317, allocations: 1.448 MB / 434.2 MB, free: 31.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3171, allocations: 3.25 kB / 434.2 MB, free: 31.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003241/0.3203, allocations: 1.792 MB / 436 MB, free: 30.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3203, allocations: 11.47 kB / 436 MB, free: 30.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.3203, allocations: 19.12 kB / 436 MB, free: 30.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.3222, allocations: 0.4915 MB / 436.5 MB, free: 30.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/0.323, allocations: 419.2 kB / 436.9 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.3261, allocations: 4.379 MB / 441.3 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.327, allocations: 53.25 kB / 441.4 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.3271, allocations: 97.12 kB / 441.4 MB, free: 26.75 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.0003932/0.3275, allocations: 260.5 kB / 441.7 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.3277, allocations: 169.7 kB / 441.9 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.3307, allocations: 1.653 MB / 443.5 MB, free: 25.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.3307, allocations: 16 kB / 443.5 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3307, allocations: 0 / 443.5 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3308, allocations: 7.969 kB / 443.5 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.3348, allocations: 2.591 MB / 446.1 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.3348, allocations: 0 / 446.1 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.3354, allocations: 277.5 kB / 446.4 MB, free: 22.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.3371, allocations: 485.4 kB / 446.9 MB, free: 21.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/0.3372, allocations: 47.97 kB / 446.9 MB, free: 21.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.3397, allocations: 4.273 MB / 451.2 MB, free: 17.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3397, allocations: 4 kB / 451.2 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.3432, allocations: 1.972 MB / 453.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.3435, allocations: 109.3 kB / 453.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3436, allocations: 24 kB / 453.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.344, allocations: 32 kB / 453.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.3442, allocations: 129.1 kB / 453.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.3443, allocations: 55.97 kB / 453.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.3447, allocations: 0.5185 MB / 454 MB, free: 14.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3447, allocations: 0 / 454 MB, free: 14.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002125/0.3468, allocations: 0.9578 MB / 455 MB, free: 13.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.001591/0.3484, allocations: 1.159 MB / 456.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.3507, allocations: 1.511 MB / 457.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3507, allocations: 0 / 457.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.3518, allocations: 0.9513 MB / 458.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3529, allocations: 290.2 kB / 458.9 MB, free: 9.879 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.003694/0.3566, allocations: 2.426 MB / 461.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3567, allocations: 265.9 kB / 461.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006958/0.3574, allocations: 314.2 kB / 461.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.3577, allocations: 212.3 kB / 462.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3577, allocations: 0 / 462.1 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Templates: time 0.03573/0.3934, allocations: 34.76 MB / 496.9 MB, free: 4.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.031016022898257]