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.001697/0.001697, allocations: 92.7 kB / 19.44 MB, free: 324 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.002528/0.002528, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.1383/0.1383, allocations: 17.37 MB / 276.9 MB, free: 11.65 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.734e-06/1.734e-06, allocations: 0 / 352.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.207e-05, allocations: 2.312 kB / 352.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01019/0.01022, allocations: 6.736 MB / 359.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03231/0.04253, allocations: 20.57 MB / 380 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.0437, allocations: 23.81 kB / 380 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.04532, allocations: 440.5 kB / 380.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.05149, allocations: 1.99 MB / 382.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009442/0.06093, allocations: 3.067 MB / 385.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.06508, allocations: 2.191 MB / 387.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.06753, allocations: 1.069 MB / 388.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.07101, allocations: 1.494 MB / 390.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.07293, allocations: 1.002 MB / 391.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.07329, allocations: 196 kB / 391.5 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008115/0.08141, allocations: 2.413 MB / 393.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007042/0.08211, allocations: 482.5 kB / 394.4 MB, free: 448 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.08346, allocations: 0.6978 MB / 395.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.09651, allocations: 5.16 MB / 400.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.09652, allocations: 0 / 400.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09652, allocations: 0 / 400.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.09657, allocations: 0 / 400.2 MB, free: 10.56 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.005866/0.1024, allocations: 2.345 MB / 402.6 MB, free: 8.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1025, allocations: 12.03 kB / 402.6 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.1049, allocations: 0.6535 MB / 403.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.1067, allocations: 0.8587 MB / 404.1 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.107, allocations: 218.3 kB / 404.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.1073, allocations: 148.3 kB / 404.4 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.1114, allocations: 2.068 MB / 406.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1114, allocations: 192 / 406.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.1116, allocations: 60.12 kB / 406.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.1116, allocations: 36 kB / 406.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.1166, allocations: 2.709 MB / 409.3 MB, free: 1.32 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.1714/0.2881, allocations: 5.446 MB / 414.8 MB, free: 62.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/0.2933, allocations: 2.794 MB / 417.6 MB, free: 61.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.2947, allocations: 0.7992 MB / 418.4 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007994/0.3027, allocations: 4.103 MB / 422.5 MB, free: 59.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3027, allocations: 43.34 kB / 422.5 MB, free: 59.81 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008932/0.3036, allocations: 195.3 kB / 422.7 MB, free: 59.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.955e-06/0.3036, allocations: 0 / 422.7 MB, free: 59.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01887/0.3225, allocations: 5.222 MB / 427.9 MB, free: 56.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3225, allocations: 71.25 kB / 428 MB, free: 56.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.3234, allocations: 1.006 MB / 429 MB, free: 55.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.1e-05/0.3235, allocations: 45.7 kB / 429 MB, free: 55.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.3238, allocations: 0.7014 MB / 429.7 MB, free: 55.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.3241, allocations: 0.4981 MB / 430.2 MB, free: 54.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.3245, allocations: 331.4 kB / 430.6 MB, free: 54.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.3246, allocations: 357.9 kB / 430.9 MB, free: 54.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.3256, allocations: 0.6626 MB / 431.6 MB, free: 53.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3266, allocations: 1.115 MB / 432.7 MB, free: 52.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.3287, allocations: 1.81 MB / 434.5 MB, free: 50.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.3288, allocations: 4 kB / 434.5 MB, free: 50.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006233/0.335, allocations: 2.486 MB / 437 MB, free: 47.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.335, allocations: 12 kB / 437 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.3351, allocations: 16 kB / 437 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/0.3391, allocations: 0.6105 MB / 437.6 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.3407, allocations: 415.4 kB / 438 MB, free: 46.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.3455, allocations: 3.605 MB / 441.6 MB, free: 42.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.347, allocations: 55.98 kB / 441.7 MB, free: 42.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.3473, allocations: 95.95 kB / 441.8 MB, free: 42.63 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.0006991/0.348, allocations: 334 kB / 442.1 MB, free: 42.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.3484, allocations: 163.2 kB / 442.3 MB, free: 42.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006154/0.3545, allocations: 2.12 MB / 444.4 MB, free: 40.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3545, allocations: 12 kB / 444.4 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3545, allocations: 7.938 kB / 444.4 MB, free: 40 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.3546, allocations: 7.969 kB / 444.4 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.3623, allocations: 3.181 MB / 447.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.3623, allocations: 4 kB / 447.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.3634, allocations: 263.7 kB / 447.9 MB, free: 36.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003948/0.3673, allocations: 0.5806 MB / 448.4 MB, free: 35.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.3676, allocations: 51.95 kB / 448.5 MB, free: 35.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.3721, allocations: 3.506 MB / 452 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3721, allocations: 0 / 452 MB, free: 32.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/0.3792, allocations: 2.781 MB / 454.8 MB, free: 29.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.3795, allocations: 117.5 kB / 454.9 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.3798, allocations: 27.94 kB / 454.9 MB, free: 29.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/0.3806, allocations: 35.98 kB / 455 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.3809, allocations: 121.1 kB / 455.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.381, allocations: 66.39 kB / 455.1 MB, free: 29.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006507/0.3817, allocations: 0.6669 MB / 455.8 MB, free: 28.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 3.828 kB / 455.8 MB, free: 28.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002419/0.3841, allocations: 0.9568 MB / 456.8 MB, free: 27.52 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.001942/0.386, allocations: 1.162 MB / 457.9 MB, free: 26.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003301/0.3893, allocations: 1.834 MB / 459.8 MB, free: 24.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3893, allocations: 0 / 459.8 MB, free: 24.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.391, allocations: 0.9899 MB / 460.7 MB, free: 23.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.3925, allocations: 286.8 kB / 461 MB, free: 23.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.3971, allocations: 2.623 MB / 463.7 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.3976, allocations: 0.602 MB / 464.3 MB, free: 20.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.3987, allocations: 318.8 kB / 464.6 MB, free: 19.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.3991, allocations: 208.3 kB / 464.8 MB, free: 19.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3991, allocations: 4 kB / 464.8 MB, free: 19.54 MB / 330.7 MB Notification: Performance of Templates: time 0.07018/0.4693, allocations: 34.48 MB / 499.3 MB, free: 1.336 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.328154199989513]