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.0009251/0.0009251, allocations: 92.22 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.0008861/0.0008861, allocations: 173 kB / 23.03 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.9601/0.9601, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.1065/0.1065, allocations: 17.46 MB / 277.4 MB, free: 11.57 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 1.223e-06/1.223e-06, allocations: 0 / 353.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.515e-05, allocations: 6.25 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.005867/0.005882, allocations: 7.576 MB / 361.1 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.02373, allocations: 23.49 MB / 384.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.02449, allocations: 23.81 kB / 384.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.02536, allocations: 448.4 kB / 385.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.0288, allocations: 1.986 MB / 387.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00578/0.03458, allocations: 3.071 MB / 390.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.03657, allocations: 2.195 MB / 392.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.03757, allocations: 1.077 MB / 393.4 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.03874, allocations: 1.486 MB / 394.9 MB, free: 296 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.03985, allocations: 1.033 MB / 395.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.0401, allocations: 192 kB / 396.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004499/0.04459, allocations: 2.405 MB / 398.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.04489, allocations: 490.5 kB / 399 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.04541, allocations: 0.7016 MB / 399.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.05104, allocations: 4.447 MB / 404.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.05105, allocations: 0 / 404.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.05105, allocations: 4 kB / 404.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.05108, allocations: 0 / 404.2 MB, free: 7.004 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.003054/0.05413, allocations: 2.474 MB / 406.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.05418, allocations: 12.02 kB / 406.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.05548, allocations: 0.6535 MB / 407.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.05638, allocations: 0.842 MB / 408.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.05652, allocations: 226.2 kB / 408.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.05671, allocations: 152.3 kB / 408.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.05841, allocations: 1.506 MB / 410 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.05843, allocations: 192 / 410 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.05854, allocations: 64.12 kB / 410.1 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.05856, allocations: 36 kB / 410.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1333/0.1918, allocations: 1.617 MB / 411.7 MB, free: 58.56 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.006456/0.1983, allocations: 4.91 MB / 416.7 MB, free: 57.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.202, allocations: 3.085 MB / 419.7 MB, free: 56.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.2027, allocations: 0.5238 MB / 420.3 MB, free: 56.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004369/0.207, allocations: 3.724 MB / 424 MB, free: 55.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2071, allocations: 50.08 kB / 424 MB, free: 55.29 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003827/0.2074, allocations: 188.3 kB / 424.2 MB, free: 55.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 2.645e-06/0.2074, allocations: 3.719 kB / 424.2 MB, free: 55.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.008931/0.2164, allocations: 4.194 MB / 428.4 MB, free: 53.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.2164, allocations: 64.72 kB / 428.5 MB, free: 53.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.2169, allocations: 0.8708 MB / 429.3 MB, free: 52.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.217, allocations: 52.52 kB / 429.4 MB, free: 52.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.2172, allocations: 0.7513 MB / 430.1 MB, free: 52.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2174, allocations: 0.4994 MB / 430.6 MB, free: 51.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.2177, allocations: 333.1 kB / 431 MB, free: 51.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.2178, allocations: 0.5355 MB / 431.5 MB, free: 50.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2182, allocations: 347.8 kB / 431.8 MB, free: 50.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.2187, allocations: 0.9857 MB / 432.8 MB, free: 49.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2199, allocations: 1.448 MB / 434.3 MB, free: 47.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2199, allocations: 4 kB / 434.3 MB, free: 47.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002716/0.2226, allocations: 1.789 MB / 436.1 MB, free: 45.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2226, allocations: 12 kB / 436.1 MB, free: 45.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2226, allocations: 16 kB / 436.1 MB, free: 45.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.2242, allocations: 0.492 MB / 436.6 MB, free: 45.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.2249, allocations: 419 kB / 437 MB, free: 45.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.2273, allocations: 4.37 MB / 441.4 MB, free: 40.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.2278, allocations: 52 kB / 441.4 MB, free: 40.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.2279, allocations: 102.1 kB / 441.5 MB, free: 40.29 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.0002494/0.2281, allocations: 262 kB / 441.8 MB, free: 40.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2283, allocations: 163.2 kB / 441.9 MB, free: 39.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.2309, allocations: 1.652 MB / 443.6 MB, free: 38.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.2309, allocations: 19.28 kB / 443.6 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2309, allocations: 0 / 443.6 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2309, allocations: 7.969 kB / 443.6 MB, free: 38.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.2344, allocations: 2.598 MB / 446.2 MB, free: 35.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2344, allocations: 4 kB / 446.2 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.235, allocations: 277.9 kB / 446.5 MB, free: 35.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/0.2366, allocations: 472.1 kB / 447 MB, free: 34.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.2367, allocations: 51.95 kB / 447 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.2388, allocations: 4.276 MB / 451.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2388, allocations: 4 kB / 451.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.2416, allocations: 1.967 MB / 453.3 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/0.2417, allocations: 109.3 kB / 453.4 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.2418, allocations: 28 kB / 453.4 MB, free: 28.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.2421, allocations: 24 kB / 453.4 MB, free: 28.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.2423, allocations: 129.1 kB / 453.5 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.2423, allocations: 59.97 kB / 453.6 MB, free: 28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003217/0.2427, allocations: 0.5107 MB / 454.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2427, allocations: 0 / 454.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001637/0.2443, allocations: 0.9563 MB / 455.1 MB, free: 26.64 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.001227/0.2455, allocations: 1.154 MB / 456.2 MB, free: 25.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.2471, allocations: 1.51 MB / 457.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2471, allocations: 1.875 kB / 457.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.2479, allocations: 0.9577 MB / 458.7 MB, free: 23.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.2485, allocations: 291.6 kB / 459 MB, free: 22.82 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.002886/0.2514, allocations: 2.438 MB / 461.4 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2515, allocations: 265.9 kB / 461.7 MB, free: 20.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005774/0.2521, allocations: 310.6 kB / 462 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.2524, allocations: 204.3 kB / 462.2 MB, free: 19.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2524, allocations: 0 / 462.2 MB, free: 19.57 MB / 330.7 MB Notification: Performance of Templates: time 0.03354/0.2859, allocations: 39 MB / 0.4894 GB, free: 12.98 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: 3.8674642853438854]