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.001292/0.001292, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00145/0.00145, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.836 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.1367/0.1367, allocations: 23.93 MB / 336.4 MB, free: 10.95 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.001944/0.001944, allocations: 67.91 kB / 471.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3178, allocations: 59.87 MB / 0.5186 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007659/0.3254, allocations: 6.768 MB / 0.5252 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02772/0.3531, allocations: 20.57 MB / 0.5453 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.3548, allocations: 33.38 kB / 0.5453 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.3565, allocations: 432.9 kB / 0.5458 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.3643, allocations: 1.925 MB / 0.5476 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.3744, allocations: 2.968 MB / 0.5505 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.3781, allocations: 2.127 MB / 0.5526 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.3796, allocations: 1.035 MB / 0.5536 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.3813, allocations: 1.098 MB / 0.5547 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.3835, allocations: 1.233 MB / 0.5559 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.3839, allocations: 196.5 kB / 0.5561 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00878/0.3926, allocations: 2.451 MB / 0.5585 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008959/0.3935, allocations: 478.3 kB / 0.5589 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.395, allocations: 0.8128 MB / 0.5597 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.4087, allocations: 4.83 MB / 0.5644 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4087, allocations: 0 / 0.5644 GB, free: 10.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4087, allocations: 0 / 0.5644 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.915e-05/0.4088, allocations: 0 / 0.5644 GB, free: 10.72 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.005273/0.4141, allocations: 2.373 MB / 0.5668 GB, free: 8.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4141, allocations: 8.031 kB / 0.5668 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.4144, allocations: 207.5 kB / 0.567 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.4162, allocations: 411 kB / 0.5674 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.4179, allocations: 0.8438 MB / 0.5682 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4181, allocations: 214.3 kB / 0.5684 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.4184, allocations: 152.3 kB / 0.5685 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.4219, allocations: 2.068 MB / 0.5705 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.4219, allocations: 3.938 kB / 0.5706 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.4221, allocations: 60 kB / 0.5706 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.4221, allocations: 40 kB / 0.5706 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.4264, allocations: 2.705 MB / 0.5733 GB, free: 1.504 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.0115/0.4379, allocations: 5.571 MB / 0.5787 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005251/0.4432, allocations: 2.798 MB / 0.5815 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.4445, allocations: 0.8089 MB / 0.5823 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008957/0.4535, allocations: 3.993 MB / 0.5861 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.4535, allocations: 43.56 kB / 0.5862 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009038/0.4544, allocations: 203 kB / 0.5864 GB, free: 3.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 3.717e-06/0.4544, allocations: 0 / 0.5864 GB, free: 3.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01893/0.4734, allocations: 5.186 MB / 0.5914 GB, free: 14.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4734, allocations: 64.72 kB / 0.5915 GB, free: 14.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.4749, allocations: 1.069 MB / 0.5926 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.475, allocations: 49.7 kB / 0.5926 GB, free: 13.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.4755, allocations: 0.6993 MB / 0.5933 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004746/0.476, allocations: 0.4958 MB / 0.5938 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/0.4765, allocations: 327.4 kB / 0.5941 GB, free: 11.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4767, allocations: 305.1 kB / 0.5944 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.4778, allocations: 0.6559 MB / 0.595 GB, free: 11.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4793, allocations: 1.115 MB / 0.5961 GB, free: 9.699 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.4822, allocations: 1.808 MB / 0.5979 GB, free: 7.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.4822, allocations: 4 kB / 0.5979 GB, free: 7.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006555/0.4888, allocations: 2.428 MB / 0.6002 GB, free: 5.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4888, allocations: 12 kB / 0.6003 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.4888, allocations: 15.94 kB / 0.6003 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.4914, allocations: 494.1 kB / 0.6007 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.4931, allocations: 419.4 kB / 0.6011 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/0.4988, allocations: 3.637 MB / 0.6047 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5001, allocations: 60.05 kB / 0.6047 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.5003, allocations: 95.95 kB / 0.6048 GB, free: 316 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.0007395/0.5011, allocations: 337.2 kB / 0.6052 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.5014, allocations: 131.1 kB / 0.6053 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/0.5074, allocations: 2.121 MB / 0.6074 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.5074, allocations: 19.94 kB / 0.6074 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5074, allocations: 0 / 0.6074 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.5074, allocations: 7.969 kB / 0.6074 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/0.5154, allocations: 3.323 MB / 0.6106 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5154, allocations: 0 / 0.6106 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5165, allocations: 279.6 kB / 0.6109 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.519, allocations: 470 kB / 0.6113 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.5191, allocations: 47.97 kB / 0.6114 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005186/0.5243, allocations: 3.53 MB / 0.6148 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5243, allocations: 0 / 0.6148 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/0.5314, allocations: 2.754 MB / 0.6175 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.5318, allocations: 115.2 kB / 0.6176 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.5319, allocations: 28 kB / 0.6177 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.5326, allocations: 31.98 kB / 0.6177 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.5329, allocations: 125.1 kB / 0.6178 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.5331, allocations: 52.09 kB / 0.6179 GB, free: 2.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009339/0.534, allocations: 0.7186 MB / 0.6186 GB, free: 1.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.534, allocations: 4 kB / 0.6186 GB, free: 1.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002771/0.5368, allocations: 0.9584 MB / 0.6195 GB, free: 0.918 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.009557/0.5463, allocations: 4.317 MB / 0.6237 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00392/0.5503, allocations: 1.839 MB / 0.6255 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5503, allocations: 4 kB / 0.6255 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.5522, allocations: 0.9856 MB / 0.6265 GB, free: 9.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.5537, allocations: 257.6 kB / 0.6267 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.5783, allocations: 12.32 MB / 0.6388 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.579, allocations: 0.606 MB / 0.6394 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.5801, allocations: 325.1 kB / 0.6397 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009665/0.5811, allocations: 0.6554 MB / 0.6403 GB, free: 10.98 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5811, allocations: 4 kB / 0.6403 GB, free: 10.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.6815, allocations: 48.63 MB / 0.6878 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.63, allocations: 11.84 kB / 0.6878 GB, free: 10.74 MB / 0.5294 GB " [Timeout remaining time 645] (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: 17.32329219498206] Failed to read output from testmodel.py, exit status != 0: 14.77155762098846 14.786234305 14.374275914 Calling exit ...