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.001259/0.001259, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001433/0.001433, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.1293/0.1293, allocations: 17.45 MB / 276.6 MB, free: 15.18 MB / 270.1 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.523e-06/1.523e-06, allocations: 0 / 412.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.807e-05, allocations: 2.281 kB / 412.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.009225/0.009253, allocations: 6.72 MB / 418.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02722/0.03647, allocations: 20.58 MB / 439.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.0375, allocations: 23.81 kB / 439.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.03877, allocations: 460.3 kB / 439.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.0442, allocations: 1.978 MB / 441.9 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007661/0.05186, allocations: 3.055 MB / 444.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.05482, allocations: 2.215 MB / 447.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.05615, allocations: 1.025 MB / 448.2 MB, free: 20 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.17/0.2262, allocations: 1.48 MB / 449.6 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.2278, allocations: 1.013 MB / 450.7 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.2281, allocations: 192.1 kB / 450.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005654/0.2338, allocations: 2.41 MB / 453.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005094/0.2343, allocations: 484.1 kB / 453.7 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009747/0.2352, allocations: 0.7003 MB / 454.4 MB, free: 18.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009212/0.2444, allocations: 5.15 MB / 459.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.269e-06/0.2445, allocations: 0 / 459.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2445, allocations: 2.281 kB / 459.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.379e-05/0.2445, allocations: 0 / 459.6 MB, free: 17.65 MB / 366.1 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.00501/0.2495, allocations: 2.355 MB / 461.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2495, allocations: 8.969 kB / 461.9 MB, free: 16.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.2513, allocations: 400.5 kB / 462.3 MB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2528, allocations: 0.8459 MB / 463.2 MB, free: 16.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.253, allocations: 220 kB / 463.4 MB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.2532, allocations: 151.3 kB / 463.5 MB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.2564, allocations: 2.057 MB / 465.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.2564, allocations: 3.656 kB / 465.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.2566, allocations: 56.97 kB / 465.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2566, allocations: 40.16 kB / 465.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.2601, allocations: 2.708 MB / 468.4 MB, free: 15.08 MB / 366.1 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.009059/0.2692, allocations: 5.396 MB / 473.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.2736, allocations: 2.8 MB / 476.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2747, allocations: 0.8045 MB / 477.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007732/0.2824, allocations: 3.973 MB / 481.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2825, allocations: 47.56 kB / 481.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000913/0.2834, allocations: 194.7 kB / 481.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=117): time 3.046e-06/0.2834, allocations: 0 / 481.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01948/0.3029, allocations: 5.177 MB / 486.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.3029, allocations: 64.72 kB / 486.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/0.3038, allocations: 1.012 MB / 487.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.3039, allocations: 45.7 kB / 487.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.3042, allocations: 0.7053 MB / 488.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.3045, allocations: 0.4891 MB / 489.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/0.3049, allocations: 327.4 kB / 489.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.3049, allocations: 368.9 kB / 489.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.306, allocations: 0.652 MB / 490.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3077, allocations: 1.114 MB / 491.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.3107, allocations: 1.814 MB / 493.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.3107, allocations: 4 kB / 493.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007524/0.3183, allocations: 2.409 MB / 495.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3183, allocations: 11.66 kB / 495.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.3183, allocations: 19.98 kB / 495.8 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.3214, allocations: 493.4 kB / 496.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.3231, allocations: 416.1 kB / 496.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/0.3295, allocations: 3.592 MB / 0.4886 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3309, allocations: 55.98 kB / 0.4886 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.3311, allocations: 91.97 kB / 0.4887 GB, free: 5.23 MB / 382.1 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.000712/0.3318, allocations: 334.5 kB / 0.489 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.3321, allocations: 127.1 kB / 0.4891 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007144/0.3392, allocations: 2.117 MB / 0.4912 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.3392, allocations: 16 kB / 0.4912 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3392, allocations: 0 / 0.4912 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.3392, allocations: 12.11 kB / 0.4912 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/0.3479, allocations: 3.168 MB / 0.4943 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3479, allocations: 3.984 kB / 0.4943 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.3492, allocations: 278.1 kB / 0.4946 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/0.3522, allocations: 454 kB / 0.495 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.3523, allocations: 59.95 kB / 0.4951 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.358, allocations: 3.498 MB / 0.4985 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.358, allocations: 3.938 kB / 0.4985 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007981/0.366, allocations: 2.738 MB / 0.5012 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.3664, allocations: 111.1 kB / 0.5013 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.3666, allocations: 28 kB / 0.5013 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.3675, allocations: 31.98 kB / 0.5013 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.3679, allocations: 125.1 kB / 0.5015 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.368, allocations: 59.95 kB / 0.5015 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.3691, allocations: 0.6786 MB / 0.5022 GB, free: 7.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 0.5022 GB, free: 7.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003827/0.3729, allocations: 0.9506 MB / 0.5031 GB, free: 6.281 MB / 398.1 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.003185/0.3761, allocations: 1.157 MB / 0.5042 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.3804, allocations: 1.833 MB / 0.506 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3804, allocations: 0 / 0.506 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.3826, allocations: 0.99 MB / 0.507 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.3843, allocations: 252.5 kB / 0.5072 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/0.3901, allocations: 2.587 MB / 0.5098 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.3909, allocations: 0.5942 MB / 0.5103 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.3922, allocations: 331.4 kB / 0.5107 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/0.3927, allocations: 208.3 kB / 0.5109 GB, free: 14.47 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3927, allocations: 0 / 0.5109 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Templates: time 0.05792/0.4507, allocations: 34.33 MB / 0.5444 GB, free: 12.5 MB / 446.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.007597114890814] Failed to read output from testmodel.py, exit status != 0: 0.4599672667682171 0.48539895499999997 0.23600872900000003 Calling exit ...