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.001388/0.001388, allocations: 105.7 kB / 16.45 MB, free: 6.508 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.001515/0.001515, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.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.1523/0.1523, allocations: 23.89 MB / 332.7 MB, free: 12.32 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.003591/0.003591, allocations: 63.89 kB / 466.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4287, allocations: 59.84 MB / 0.514 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.00856/0.4372, allocations: 7.609 MB / 0.5215 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03018/0.4674, allocations: 23.45 MB / 0.5444 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.4689, allocations: 23.91 kB / 0.5444 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.4706, allocations: 490.2 kB / 0.5449 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.4779, allocations: 1.952 MB / 0.5468 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.4885, allocations: 2.948 MB / 0.5496 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.4926, allocations: 2.138 MB / 0.5517 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.4949, allocations: 1.059 MB / 0.5528 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.4973, allocations: 1.089 MB / 0.5538 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.5, allocations: 1.236 MB / 0.555 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.5005, allocations: 196.9 kB / 0.5552 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.5118, allocations: 2.549 MB / 0.5577 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.5129, allocations: 479 kB / 0.5582 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.5154, allocations: 0.9481 MB / 0.5591 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.5294, allocations: 4.851 MB / 0.5638 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5294, allocations: 0 / 0.5638 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5294, allocations: 0 / 0.5638 GB, free: 7.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.5295, allocations: 0 / 0.5638 GB, free: 7.414 MB / 414.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.006836/0.5364, allocations: 2.438 MB / 0.5662 GB, free: 5.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5364, allocations: 12.03 kB / 0.5662 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.5385, allocations: 411 kB / 0.5666 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.5404, allocations: 0.9093 MB / 0.5675 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.5406, allocations: 166.8 kB / 0.5677 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.5409, allocations: 152.3 kB / 0.5678 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.5449, allocations: 2.052 MB / 0.5698 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.5449, allocations: 0 / 0.5698 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.5451, allocations: 56 kB / 0.5699 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.5451, allocations: 36 kB / 0.5699 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.5501, allocations: 2.724 MB / 0.5726 GB, free: 14.87 MB / 430.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.01301/0.5631, allocations: 6.55 MB / 0.579 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005696/0.5688, allocations: 3.234 MB / 0.5821 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.5702, allocations: 0.805 MB / 0.5829 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.5813, allocations: 7.267 MB / 0.59 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.5813, allocations: 47.5 kB / 0.59 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001025/0.5824, allocations: 207 kB / 0.5902 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 2.845e-06/0.5824, allocations: 0 / 0.5902 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02168/0.604, allocations: 5.411 MB / 0.5955 GB, free: 6.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.6041, allocations: 68.66 kB / 0.5956 GB, free: 6.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.6058, allocations: 1.034 MB / 0.5966 GB, free: 4.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.6059, allocations: 45.7 kB / 0.5966 GB, free: 4.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/0.6066, allocations: 0.6955 MB / 0.5973 GB, free: 4.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.6071, allocations: 0.5074 MB / 0.5978 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/0.6077, allocations: 327.4 kB / 0.5981 GB, free: 3.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6078, allocations: 309.1 kB / 0.5984 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.609, allocations: 0.6442 MB / 0.5991 GB, free: 2.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.6106, allocations: 1.114 MB / 0.6001 GB, free: 1.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.6136, allocations: 1.8 MB / 0.6019 GB, free: 15.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6136, allocations: 4 kB / 0.6019 GB, free: 15.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006859/0.6205, allocations: 2.412 MB / 0.6043 GB, free: 12.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.6205, allocations: 15.94 kB / 0.6043 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.6205, allocations: 19.94 kB / 0.6043 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/0.6235, allocations: 486 kB / 0.6048 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.6252, allocations: 419.4 kB / 0.6052 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.6313, allocations: 3.868 MB / 0.6089 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.6327, allocations: 63.98 kB / 0.609 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.6329, allocations: 99.95 kB / 0.6091 GB, free: 7.473 MB / 462.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.0006859/0.6336, allocations: 327 kB / 0.6094 GB, free: 7.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.6339, allocations: 127.2 kB / 0.6095 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/0.6408, allocations: 2.125 MB / 0.6116 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6408, allocations: 19.92 kB / 0.6116 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6408, allocations: 4 kB / 0.6116 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.6408, allocations: 3.984 kB / 0.6116 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.6496, allocations: 3.554 MB / 0.6151 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6496, allocations: 4 kB / 0.6151 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.6509, allocations: 267.7 kB / 0.6154 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002795/0.6537, allocations: 474 kB / 0.6158 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.6538, allocations: 43.97 kB / 0.6158 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.6596, allocations: 3.787 MB / 0.6195 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6596, allocations: 0 / 0.6195 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007651/0.6672, allocations: 2.746 MB / 0.6222 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.6677, allocations: 184.4 kB / 0.6224 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.6679, allocations: 27.94 kB / 0.6224 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.6686, allocations: 39.98 kB / 0.6225 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.669, allocations: 117.1 kB / 0.6226 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.6691, allocations: 59.95 kB / 0.6226 GB, free: 9.168 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009909/0.6701, allocations: 0.7068 MB / 0.6233 GB, free: 8.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6701, allocations: 0 / 0.6233 GB, free: 8.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0031/0.6732, allocations: 0.9622 MB / 0.6243 GB, free: 7.484 MB / 478.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.002341/0.6755, allocations: 1.116 MB / 0.6254 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.6795, allocations: 1.906 MB / 0.6272 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6795, allocations: 0.875 kB / 0.6272 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.6816, allocations: 1.065 MB / 0.6283 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.683, allocations: 269.6 kB / 0.6285 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/0.6881, allocations: 2.688 MB / 0.6311 GB, free: 332 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/0.689, allocations: 1.187 MB / 0.6323 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.6903, allocations: 321.4 kB / 0.6326 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.6908, allocations: 207.3 kB / 0.6328 GB, free: 14.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6908, allocations: 0 / 0.6328 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05964/0.7504, allocations: 34.65 MB / 0.6666 GB, free: 12.09 MB / 0.5137 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.468060803133994] Failed to read output from testmodel.py, exit status != 0: 0.7625525910407305 0.7738025669999999 0.24111606699999996 Calling exit ...