Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001376/0.001376, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001405/0.001405, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.14/0.14, allocations: 23.84 MB / 332.7 MB, free: 12.37 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) [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.001977/0.001977, allocations: 70.23 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3721, allocations: 59.82 MB / 0.5135 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007972/0.3801, allocations: 7.622 MB / 0.5209 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02952/0.4096, allocations: 23.45 MB / 0.5438 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.411, allocations: 27.59 kB / 0.5438 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.4128, allocations: 478 kB / 0.5443 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008739/0.4216, allocations: 1.957 MB / 0.5462 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.4318, allocations: 2.942 MB / 0.5491 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003875/0.4356, allocations: 2.131 MB / 0.5512 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.4375, allocations: 1.066 MB / 0.5522 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.4394, allocations: 1.09 MB / 0.5533 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.4418, allocations: 1.24 MB / 0.5545 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005266/0.4423, allocations: 193.7 kB / 0.5547 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009208/0.4515, allocations: 2.544 MB / 0.5572 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008438/0.4523, allocations: 474.9 kB / 0.5576 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.4543, allocations: 0.9483 MB / 0.5585 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.467, allocations: 4.847 MB / 0.5633 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.467, allocations: 0 / 0.5633 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.467, allocations: 4 kB / 0.5633 GB, free: 7.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.694e-05/0.4671, allocations: 0 / 0.5633 GB, free: 7.254 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.00622/0.4733, allocations: 2.444 MB / 0.5657 GB, free: 5.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4734, allocations: 9.969 kB / 0.5657 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003003/0.4737, allocations: 211.2 kB / 0.5659 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.4757, allocations: 398.5 kB / 0.5662 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.4774, allocations: 0.9133 MB / 0.5671 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.4775, allocations: 166.9 kB / 0.5673 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.4779, allocations: 156.3 kB / 0.5674 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.4814, allocations: 2.048 MB / 0.5694 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.4815, allocations: 3.938 kB / 0.5694 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.4816, allocations: 60 kB / 0.5695 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.4817, allocations: 36 kB / 0.5695 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004454/0.4861, allocations: 2.724 MB / 0.5722 GB, free: 14.79 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.01186/0.498, allocations: 6.561 MB / 0.5786 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/0.5038, allocations: 3.23 MB / 0.5818 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.5052, allocations: 0.8089 MB / 0.5826 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.5167, allocations: 7.263 MB / 0.5896 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.5167, allocations: 47.55 kB / 0.5897 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001114/0.5178, allocations: 195.1 kB / 0.5899 GB, free: 11.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.649e-06/0.5178, allocations: 4 kB / 0.5899 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02203/0.5398, allocations: 5.415 MB / 0.5952 GB, free: 6.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.5399, allocations: 68.72 kB / 0.5952 GB, free: 5.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5415, allocations: 1.038 MB / 0.5962 GB, free: 4.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.5417, allocations: 45.7 kB / 0.5963 GB, free: 4.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/0.5423, allocations: 0.6994 MB / 0.597 GB, free: 4.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/0.5429, allocations: 0.4958 MB / 0.5975 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/0.5434, allocations: 327.4 kB / 0.5978 GB, free: 3.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5435, allocations: 305.1 kB / 0.5981 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.5448, allocations: 0.652 MB / 0.5987 GB, free: 2.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.5465, allocations: 1.114 MB / 0.5998 GB, free: 1.066 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.5496, allocations: 1.8 MB / 0.6015 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.5497, allocations: 4 kB / 0.6015 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007254/0.5569, allocations: 2.412 MB / 0.6039 GB, free: 12.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.5569, allocations: 12 kB / 0.6039 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.557, allocations: 12 kB / 0.6039 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/0.5599, allocations: 498.1 kB / 0.6044 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.5616, allocations: 419.3 kB / 0.6048 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007001/0.5686, allocations: 3.864 MB / 0.6086 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5702, allocations: 52 kB / 0.6086 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.5705, allocations: 99.95 kB / 0.6087 GB, free: 7.418 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.000784/0.5713, allocations: 333.3 kB / 0.609 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.5717, allocations: 135.1 kB / 0.6092 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007222/0.5789, allocations: 2.133 MB / 0.6113 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5789, allocations: 19.94 kB / 0.6113 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5789, allocations: 0 / 0.6113 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/0.579, allocations: 11.97 kB / 0.6113 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009777/0.5888, allocations: 3.543 MB / 0.6147 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5888, allocations: 0 / 0.6147 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.59, allocations: 271.7 kB / 0.615 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.5929, allocations: 470 kB / 0.6154 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.5931, allocations: 43.97 kB / 0.6155 GB, free: 388 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.5988, allocations: 3.787 MB / 0.6192 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5988, allocations: 0 / 0.6192 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00783/0.6067, allocations: 2.746 MB / 0.6219 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.607, allocations: 196.2 kB / 0.6221 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.6072, allocations: 24 kB / 0.6221 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007901/0.608, allocations: 36.06 kB / 0.6221 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.6083, allocations: 125.1 kB / 0.6222 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.6085, allocations: 59.97 kB / 0.6223 GB, free: 9.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009707/0.6094, allocations: 0.7069 MB / 0.623 GB, free: 8.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6094, allocations: 0 / 0.623 GB, free: 8.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002948/0.6124, allocations: 0.9545 MB / 0.6239 GB, free: 7.414 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.01073/0.6231, allocations: 4.32 MB / 0.6281 GB, free: 3.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.6273, allocations: 1.899 MB / 0.63 GB, free: 1.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6273, allocations: 8.062 kB / 0.63 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.6295, allocations: 1.057 MB / 0.631 GB, free: 0 / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.6309, allocations: 259.4 kB / 0.6313 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/0.657, allocations: 12.31 MB / 0.6433 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009323/0.6579, allocations: 1.191 MB / 0.6445 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.6591, allocations: 321 kB / 0.6448 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6602, allocations: 0.6554 MB / 0.6454 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6602, allocations: 4 kB / 0.6454 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.7694, allocations: 46.16 MB / 0.6905 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.42, allocations: 6.25 kB / 0.6905 GB, free: 2.844 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.27348484500544] Failed to read output from testmodel.py, exit status != 0: 16.540030490010395 16.559577154 16.088629619 Calling exit ...