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.001825/0.001825, allocations: 93.47 kB / 19.44 MB, free: 336 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.003016/0.003016, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] 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.1444/0.1444, allocations: 17.37 MB / 276.9 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.803e-06/1.803e-06, allocations: 0 / 352.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.067e-05, allocations: 8.359 kB / 352.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01113/0.01116, allocations: 7.494 MB / 360.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03479/0.04595, allocations: 23.46 MB / 383.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.04733, allocations: 23.81 kB / 383.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.04893, allocations: 440.5 kB / 384.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006839/0.05577, allocations: 1.986 MB / 386.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009042/0.06481, allocations: 3.071 MB / 389.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003679/0.06849, allocations: 2.188 MB / 391.4 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.07023, allocations: 1.08 MB / 392.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.07233, allocations: 1.486 MB / 393.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.07426, allocations: 1.029 MB / 395 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.07465, allocations: 192 kB / 395.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007077/0.08173, allocations: 2.413 MB / 397.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.08255, allocations: 486.5 kB / 398 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.0838, allocations: 0.6978 MB / 398.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.09698, allocations: 5.172 MB / 403.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.09699, allocations: 0 / 403.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09699, allocations: 0 / 403.9 MB, free: 6.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.518e-05/0.09703, allocations: 0 / 403.9 MB, free: 6.859 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.005706/0.1027, allocations: 2.56 MB / 406.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1028, allocations: 8.031 kB / 406.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.1051, allocations: 0.6613 MB / 407.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.1069, allocations: 0.8497 MB / 408 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.1071, allocations: 222.2 kB / 408.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.1074, allocations: 148.3 kB / 408.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.1112, allocations: 1.935 MB / 410.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.1112, allocations: 192 / 410.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.1114, allocations: 64.12 kB / 410.3 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.1114, allocations: 36 kB / 410.4 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1611/0.2725, allocations: 2.387 MB / 412.8 MB, free: 64.89 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.01117/0.2837, allocations: 5.867 MB / 418.6 MB, free: 61.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/0.2887, allocations: 2.716 MB / 421.3 MB, free: 61.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2898, allocations: 0.7582 MB / 422.1 MB, free: 61.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008638/0.2984, allocations: 4.193 MB / 426.3 MB, free: 58.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2984, allocations: 46.39 kB / 426.3 MB, free: 58.48 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008163/0.2993, allocations: 190.4 kB / 426.5 MB, free: 58.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 3.216e-06/0.2993, allocations: 3.938 kB / 426.5 MB, free: 58.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01801/0.3173, allocations: 5.186 MB / 431.7 MB, free: 53.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3173, allocations: 68.72 kB / 431.8 MB, free: 53.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.3182, allocations: 1.034 MB / 432.8 MB, free: 52.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/0.3183, allocations: 53.7 kB / 432.9 MB, free: 52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.3186, allocations: 0.7862 MB / 433.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.3189, allocations: 0.5237 MB / 434.2 MB, free: 50.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.3193, allocations: 380.9 kB / 434.6 MB, free: 50.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3194, allocations: 0.5551 MB / 435.1 MB, free: 49.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/0.3203, allocations: 0.5527 MB / 435.7 MB, free: 49.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3214, allocations: 1.23 MB / 436.9 MB, free: 47.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.3234, allocations: 1.949 MB / 438.8 MB, free: 45.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3234, allocations: 4.5 kB / 438.8 MB, free: 45.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005634/0.3291, allocations: 2.302 MB / 441.1 MB, free: 43.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3291, allocations: 12 kB / 441.2 MB, free: 43.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.3291, allocations: 14.84 kB / 441.2 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/0.333, allocations: 0.6129 MB / 441.8 MB, free: 42.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.3344, allocations: 423.3 kB / 442.2 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.3391, allocations: 4.819 MB / 447 MB, free: 37.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3405, allocations: 62.39 kB / 447.1 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.3407, allocations: 87.97 kB / 447.2 MB, free: 37.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.0006058/0.3413, allocations: 375.1 kB / 447.5 MB, free: 36.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.3416, allocations: 171.1 kB / 447.7 MB, free: 36.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.3473, allocations: 2.079 MB / 449.8 MB, free: 34.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3473, allocations: 16 kB / 449.8 MB, free: 34.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3473, allocations: 0 / 449.8 MB, free: 34.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.3473, allocations: 7.969 kB / 449.8 MB, free: 34.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.3547, allocations: 3.363 MB / 453.2 MB, free: 31.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3547, allocations: 4 kB / 453.2 MB, free: 31.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.3558, allocations: 271.7 kB / 453.4 MB, free: 30.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/0.3595, allocations: 0.5851 MB / 454 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/0.3597, allocations: 51.95 kB / 454.1 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004312/0.364, allocations: 4.717 MB / 458.8 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.364, allocations: 0 / 458.8 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/0.3703, allocations: 2.774 MB / 461.6 MB, free: 22.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.3707, allocations: 105.3 kB / 461.7 MB, free: 22.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.3709, allocations: 28 kB / 461.7 MB, free: 22.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.3716, allocations: 31.98 kB / 461.7 MB, free: 22.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.3719, allocations: 133.1 kB / 461.9 MB, free: 22.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.372, allocations: 51.97 kB / 461.9 MB, free: 22.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005905/0.3726, allocations: 0.6161 MB / 462.5 MB, free: 21.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3726, allocations: 0 / 462.5 MB, free: 21.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002396/0.375, allocations: 0.96 MB / 463.5 MB, free: 20.53 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.001687/0.3767, allocations: 1.152 MB / 464.6 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.3797, allocations: 1.949 MB / 466.6 MB, free: 17.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3797, allocations: 0 / 466.6 MB, free: 17.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.3812, allocations: 1.154 MB / 467.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.3825, allocations: 309 kB / 468 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.3863, allocations: 2.617 MB / 470.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3867, allocations: 0.5941 MB / 471.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009806/0.3877, allocations: 318.3 kB / 471.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.3881, allocations: 212.3 kB / 471.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3881, allocations: 0 / 471.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Templates: time 0.0546/0.4427, allocations: 34.75 MB / 0.4946 GB, free: 9.773 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: 6.444430219940841]