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.001647/0.001647, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001921/0.001921, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.785 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.1647/0.1647, allocations: 23.99 MB / 336.4 MB, free: 10.93 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater,fileNamePrefix="Chemical_master_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.003103/0.003103, allocations: 67.89 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3598, allocations: 59.89 MB / 0.5187 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.01053/0.3703, allocations: 6.762 MB / 0.5253 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04107/0.4114, allocations: 20.57 MB / 0.5454 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.4132, allocations: 24.78 kB / 0.5455 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.4155, allocations: 438.3 kB / 0.5459 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4261, allocations: 1.921 MB / 0.5477 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01838/0.4445, allocations: 2.979 MB / 0.5507 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00563/0.4501, allocations: 2.134 MB / 0.5527 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.4528, allocations: 1.015 MB / 0.5537 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.4556, allocations: 1.093 MB / 0.5548 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.4591, allocations: 1.113 MB / 0.5559 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008407/0.46, allocations: 196 kB / 0.5561 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.4712, allocations: 2.392 MB / 0.5584 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.4723, allocations: 484.2 kB / 0.5589 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.4746, allocations: 0.8112 MB / 0.5597 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.491, allocations: 4.827 MB / 0.5644 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.491, allocations: 0 / 0.5644 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.491, allocations: 0 / 0.5644 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.435e-05/0.4911, allocations: 0 / 0.5644 GB, free: 10.61 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.008294/0.4994, allocations: 2.373 MB / 0.5667 GB, free: 8.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4995, allocations: 12.03 kB / 0.5667 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004777/0.4999, allocations: 207.5 kB / 0.5669 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.503, allocations: 403 kB / 0.5673 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.5056, allocations: 0.8515 MB / 0.5681 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.5058, allocations: 218.3 kB / 0.5683 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004531/0.5063, allocations: 152.3 kB / 0.5685 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00525/0.5116, allocations: 2.064 MB / 0.5705 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.5116, allocations: 0 / 0.5705 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.5118, allocations: 56 kB / 0.5705 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.5119, allocations: 32 kB / 0.5706 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/0.5187, allocations: 2.709 MB / 0.5732 GB, free: 1.398 MB / 414.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.01815/0.5368, allocations: 5.575 MB / 0.5787 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/0.5454, allocations: 2.802 MB / 0.5814 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.5477, allocations: 0.8121 MB / 0.5822 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.5615, allocations: 3.981 MB / 0.5861 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.5616, allocations: 55.56 kB / 0.5861 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001385/0.5629, allocations: 203 kB / 0.5863 GB, free: 3.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 5.591e-06/0.563, allocations: 0 / 0.5863 GB, free: 3.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02972/0.5927, allocations: 5.186 MB / 0.5914 GB, free: 14.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.5928, allocations: 64.72 kB / 0.5914 GB, free: 14.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.5948, allocations: 1.065 MB / 0.5925 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.595, allocations: 49.7 kB / 0.5925 GB, free: 13.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.5958, allocations: 0.6993 MB / 0.5932 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/0.5964, allocations: 0.4997 MB / 0.5937 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007757/0.5972, allocations: 335.3 kB / 0.594 GB, free: 11.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5974, allocations: 301.1 kB / 0.5943 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.5992, allocations: 0.6598 MB / 0.595 GB, free: 10.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.6015, allocations: 1.111 MB / 0.596 GB, free: 9.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.6057, allocations: 1.804 MB / 0.5978 GB, free: 7.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.6057, allocations: 8 kB / 0.5978 GB, free: 7.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01064/0.6164, allocations: 2.424 MB / 0.6002 GB, free: 5.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.6164, allocations: 11.98 kB / 0.6002 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.6165, allocations: 23.88 kB / 0.6002 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/0.6206, allocations: 486.1 kB / 0.6007 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.623, allocations: 415.4 kB / 0.6011 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/0.6316, allocations: 3.644 MB / 0.6046 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.6337, allocations: 52 kB / 0.6047 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/0.634, allocations: 99.95 kB / 0.6048 GB, free: 204 kB / 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.001007/0.6351, allocations: 341.2 kB / 0.6051 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.6355, allocations: 123.2 kB / 0.6052 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009918/0.6454, allocations: 2.125 MB / 0.6073 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.6454, allocations: 19.94 kB / 0.6073 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6454, allocations: 0 / 0.6073 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.6455, allocations: 7.969 kB / 0.6073 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.6564, allocations: 3.324 MB / 0.6106 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6564, allocations: 0 / 0.6106 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.6575, allocations: 271.6 kB / 0.6108 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.6601, allocations: 466 kB / 0.6113 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.6603, allocations: 47.97 kB / 0.6113 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/0.6655, allocations: 3.538 MB / 0.6148 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6655, allocations: 0 / 0.6148 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007344/0.6729, allocations: 2.746 MB / 0.6175 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.6734, allocations: 119.1 kB / 0.6176 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.6736, allocations: 24.12 kB / 0.6176 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/0.6744, allocations: 39.98 kB / 0.6176 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.6747, allocations: 121.1 kB / 0.6177 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.6748, allocations: 59.95 kB / 0.6178 GB, free: 2.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.6759, allocations: 0.7147 MB / 0.6185 GB, free: 1.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6759, allocations: 0 / 0.6185 GB, free: 1.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003071/0.6789, allocations: 0.9583 MB / 0.6194 GB, free: 0.8164 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.01014/0.6891, allocations: 4.321 MB / 0.6237 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.6931, allocations: 1.836 MB / 0.6254 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6931, allocations: 8.375 kB / 0.6255 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.6952, allocations: 0.9856 MB / 0.6264 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.6966, allocations: 256.8 kB / 0.6267 GB, free: 9.324 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/0.722, allocations: 12.33 MB / 0.6387 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.7227, allocations: 0.6021 MB / 0.6393 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00125/0.724, allocations: 324.7 kB / 0.6396 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.725, allocations: 0.6632 MB / 0.6402 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.725, allocations: 0 / 0.6402 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/0.8516, allocations: 48.11 MB / 0.6872 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.06, allocations: 12.5 kB / 0.6872 GB, free: 11.16 MB / 0.5294 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInWater.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.00671312911436] Failed to read output from testmodel.py, exit status != 0: 16.20967062888667 16.238356872 15.741564237 Calling exit ...