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.001281/0.001281, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001574/0.001574, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8 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.1445/0.1445, allocations: 23.89 MB / 337.1 MB, free: 11.14 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.002032/0.002032, allocations: 71.89 kB / 472.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 59.87 MB / 0.5199 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007512/0.3217, allocations: 7.657 MB / 0.5274 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02905/0.3508, allocations: 23.51 MB / 0.5503 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.3523, allocations: 27.88 kB / 0.5503 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.3538, allocations: 484.8 kB / 0.5508 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007292/0.3611, allocations: 1.973 MB / 0.5527 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.3713, allocations: 2.969 MB / 0.5556 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.3752, allocations: 2.129 MB / 0.5577 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.3768, allocations: 1.03 MB / 0.5587 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.3783, allocations: 1.092 MB / 0.5598 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3803, allocations: 1.235 MB / 0.561 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.3806, allocations: 191.6 kB / 0.5612 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009634/0.3903, allocations: 2.546 MB / 0.5637 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.3911, allocations: 482.6 kB / 0.5641 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.3927, allocations: 0.9476 MB / 0.565 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.4058, allocations: 4.857 MB / 0.5698 GB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4058, allocations: 4 kB / 0.5698 GB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4058, allocations: 0 / 0.5698 GB, free: 6.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.108e-05/0.4059, allocations: 0 / 0.5698 GB, free: 6.695 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.005489/0.4114, allocations: 2.364 MB / 0.5721 GB, free: 4.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4114, allocations: 8.031 kB / 0.5721 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.4132, allocations: 407 kB / 0.5725 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.415, allocations: 0.8476 MB / 0.5733 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.4152, allocations: 226.2 kB / 0.5735 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.4155, allocations: 152.3 kB / 0.5737 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.419, allocations: 2.06 MB / 0.5757 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.419, allocations: 0 / 0.5757 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.4191, allocations: 56 kB / 0.5758 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.4192, allocations: 36 kB / 0.5758 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.4236, allocations: 2.74 MB / 0.5785 GB, free: 13.68 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.01239/0.436, allocations: 6.523 MB / 0.5848 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.4413, allocations: 2.856 MB / 0.5876 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4427, allocations: 0.8167 MB / 0.5884 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009338/0.4521, allocations: 4.203 MB / 0.5925 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.4521, allocations: 47.5 kB / 0.5926 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009969/0.4531, allocations: 203 kB / 0.5928 GB, free: 14.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 5.651e-06/0.4531, allocations: 8 kB / 0.5928 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02117/0.4743, allocations: 5.174 MB / 0.5978 GB, free: 9.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.4744, allocations: 68.66 kB / 0.5979 GB, free: 9.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.4758, allocations: 1.054 MB / 0.5989 GB, free: 8.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.476, allocations: 45.7 kB / 0.599 GB, free: 8.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005711/0.4766, allocations: 0.6994 MB / 0.5996 GB, free: 7.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/0.4771, allocations: 0.5035 MB / 0.6001 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.4776, allocations: 327.4 kB / 0.6004 GB, free: 6.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4777, allocations: 309.1 kB / 0.6007 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4789, allocations: 0.652 MB / 0.6014 GB, free: 5.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.4805, allocations: 1.111 MB / 0.6025 GB, free: 4.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.4834, allocations: 1.812 MB / 0.6042 GB, free: 2.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4834, allocations: 4 kB / 0.6042 GB, free: 2.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006966/0.4904, allocations: 2.416 MB / 0.6066 GB, free: 88 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.4904, allocations: 15.94 kB / 0.6066 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.4904, allocations: 12 kB / 0.6066 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.4934, allocations: 0.4903 MB / 0.6071 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.495, allocations: 415.4 kB / 0.6075 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.5011, allocations: 3.668 MB / 0.6111 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5025, allocations: 59.92 kB / 0.6111 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.5027, allocations: 95.95 kB / 0.6112 GB, free: 11.11 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.0007174/0.5035, allocations: 333.4 kB / 0.6115 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5038, allocations: 123.3 kB / 0.6117 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006823/0.5106, allocations: 2.136 MB / 0.6138 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.5106, allocations: 15.94 kB / 0.6138 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5106, allocations: 8 kB / 0.6138 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.5106, allocations: 3.984 kB / 0.6138 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009051/0.5197, allocations: 3.526 MB / 0.6172 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5197, allocations: 3.984 kB / 0.6172 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.5209, allocations: 275.7 kB / 0.6175 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.5237, allocations: 466 kB / 0.6179 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.5239, allocations: 47.97 kB / 0.618 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.5294, allocations: 3.573 MB / 0.6215 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5294, allocations: 0 / 0.6215 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.5369, allocations: 2.742 MB / 0.6241 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.5372, allocations: 119.2 kB / 0.6243 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5374, allocations: 31.94 kB / 0.6243 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.5382, allocations: 31.94 kB / 0.6243 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.5385, allocations: 129.1 kB / 0.6244 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.5386, allocations: 55.97 kB / 0.6245 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009612/0.5396, allocations: 0.7224 MB / 0.6252 GB, free: 12.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5396, allocations: 0 / 0.6252 GB, free: 12.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0029/0.5425, allocations: 0.9584 MB / 0.6261 GB, free: 11.46 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.002387/0.5448, allocations: 1.113 MB / 0.6272 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.5488, allocations: 1.835 MB / 0.629 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5488, allocations: 0 / 0.629 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.5508, allocations: 0.9909 MB / 0.63 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5521, allocations: 251.2 kB / 0.6302 GB, free: 7.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.5574, allocations: 2.736 MB / 0.6329 GB, free: 4.445 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/0.5583, allocations: 1.183 MB / 0.6341 GB, free: 3.234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007587/0.5591, allocations: 271.2 kB / 0.6343 GB, free: 2.973 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5591, allocations: 0 / 0.6343 GB, free: 2.973 MB / 478.1 MB Notification: Performance of Templates: time 0.05737/0.6165, allocations: 43.59 MB / 0.6769 GB, free: 7.484 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: 10.699534690997098] Failed to read output from testmodel.py, exit status != 0: 0.6259098600130528 0.641065892 0.23185460299999996 Calling exit ...