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.001299/0.001299, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001332/0.001332, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.332/1.332, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.1229/0.1229, allocations: 17.44 MB / 277.2 MB, free: 15.16 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 412.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 59.87 MB / 472.5 MB, free: 9.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.008864/0.1129, allocations: 6.763 MB / 479.2 MB, free: 2.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2067/0.3197, allocations: 20.58 MB / 499.8 MB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.3206, allocations: 24.53 kB / 499.8 MB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3217, allocations: 440.8 kB / 0.4885 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.3256, allocations: 1.926 MB / 0.4904 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00618/0.3318, allocations: 2.968 MB / 0.4933 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.3339, allocations: 2.129 MB / 0.4954 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009479/0.3348, allocations: 1.016 MB / 0.4964 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.3358, allocations: 1.08 MB / 0.4974 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.337, allocations: 1.121 MB / 0.4985 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.3372, allocations: 191.4 kB / 0.4987 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.3427, allocations: 2.387 MB / 0.501 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.343, allocations: 481.7 kB / 0.5015 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.3437, allocations: 0.8103 MB / 0.5023 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.3511, allocations: 4.836 MB / 0.507 GB, free: 26.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3511, allocations: 0 / 0.507 GB, free: 26.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3511, allocations: 4 kB / 0.507 GB, free: 26.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.3511, allocations: 0 / 0.507 GB, free: 26.86 MB / 446.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.003837/0.3549, allocations: 2.37 MB / 0.5093 GB, free: 25.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.355, allocations: 9.375 kB / 0.5093 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.3565, allocations: 406.8 kB / 0.5097 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3577, allocations: 0.8446 MB / 0.5106 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3579, allocations: 216.6 kB / 0.5108 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.3581, allocations: 156.8 kB / 0.5109 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.361, allocations: 2.062 MB / 0.5129 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.361, allocations: 3.047 kB / 0.5129 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.3611, allocations: 56.5 kB / 0.513 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.3612, allocations: 34.41 kB / 0.513 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.3648, allocations: 2.707 MB / 0.5157 GB, free: 22.95 MB / 446.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.00888/0.3736, allocations: 5.399 MB / 0.5209 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.3782, allocations: 2.795 MB / 0.5237 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3793, allocations: 0.8101 MB / 0.5245 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.387, allocations: 3.979 MB / 0.5283 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3871, allocations: 43.88 kB / 0.5284 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008437/0.3879, allocations: 191.3 kB / 0.5286 GB, free: 17.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 3.136e-06/0.3879, allocations: 0 / 0.5286 GB, free: 17.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.01838/0.4063, allocations: 5.178 MB / 0.5336 GB, free: 15.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.4063, allocations: 69.78 kB / 0.5337 GB, free: 15.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.4074, allocations: 1.005 MB / 0.5347 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.4074, allocations: 51.92 kB / 0.5347 GB, free: 14.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.4077, allocations: 0.7048 MB / 0.5354 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.408, allocations: 0.4991 MB / 0.5359 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.4084, allocations: 334.1 kB / 0.5362 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.4085, allocations: 363 kB / 0.5366 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009894/0.4095, allocations: 0.6549 MB / 0.5372 GB, free: 12.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4107, allocations: 1.118 MB / 0.5383 GB, free: 12.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.4127, allocations: 1.809 MB / 0.5401 GB, free: 10.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4127, allocations: 3.062 kB / 0.5401 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005875/0.4186, allocations: 2.415 MB / 0.5424 GB, free: 9.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4186, allocations: 10.89 kB / 0.5424 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.4187, allocations: 15.31 kB / 0.5424 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.4213, allocations: 492.2 kB / 0.5429 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.4226, allocations: 420.3 kB / 0.5433 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.4268, allocations: 3.593 MB / 0.5468 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4279, allocations: 54.58 kB / 0.5469 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.428, allocations: 98.34 kB / 0.547 GB, free: 5.66 MB / 446.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.0004934/0.4285, allocations: 334 kB / 0.5473 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.4287, allocations: 127.3 kB / 0.5474 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/0.4342, allocations: 2.126 MB / 0.5495 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4342, allocations: 19.98 kB / 0.5495 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4342, allocations: 0 / 0.5495 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.4343, allocations: 8.531 kB / 0.5495 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006603/0.4409, allocations: 3.165 MB / 0.5526 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4409, allocations: 0.5 kB / 0.5526 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.4418, allocations: 274.3 kB / 0.5529 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.4442, allocations: 472.9 kB / 0.5533 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.4443, allocations: 47.92 kB / 0.5534 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/0.4493, allocations: 3.496 MB / 0.5568 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4493, allocations: 0 / 0.5568 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006856/0.4562, allocations: 2.75 MB / 0.5595 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.4565, allocations: 107.2 kB / 0.5596 GB, free: 9.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.4566, allocations: 28 kB / 0.5596 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.4573, allocations: 28 kB / 0.5596 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4576, allocations: 137 kB / 0.5597 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.4577, allocations: 51.97 kB / 0.5598 GB, free: 9.125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.4586, allocations: 0.6747 MB / 0.5605 GB, free: 8.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4586, allocations: 0 / 0.5605 GB, free: 8.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002672/0.4612, allocations: 0.9506 MB / 0.5614 GB, free: 7.496 MB / 462.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.001976/0.4632, allocations: 1.126 MB / 0.5625 GB, free: 6.367 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003598/0.4668, allocations: 1.83 MB / 0.5643 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4668, allocations: 0 / 0.5643 GB, free: 4.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.4687, allocations: 0.9873 MB / 0.5652 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.4699, allocations: 250.1 kB / 0.5655 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.4747, allocations: 2.695 MB / 0.5681 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.4754, allocations: 0.602 MB / 0.5687 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.4764, allocations: 321.8 kB / 0.569 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.4769, allocations: 204.3 kB / 0.5692 GB, free: 15.39 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4769, allocations: 0 / 0.5692 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Templates: time 0.05354/0.5304, allocations: 34.32 MB / 0.6027 GB, free: 13.3 MB / 0.4981 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757156700012274] Failed to read output from testmodel.py, exit status != 0: 0.5387665389571339 0.5527850240000001 0.19859109600000002 Calling exit ...