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.001344/0.001344, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.00172/0.00172, allocations: 216.2 kB / 22.24 MB, free: 5.242 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.801 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.1513/0.1513, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.002037/0.002037, allocations: 67.91 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 59.85 MB / 0.5185 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInWater): time 0.007769/0.3266, allocations: 6.764 MB / 0.5251 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02746/0.354, allocations: 20.58 MB / 0.5452 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.3554, allocations: 24.03 kB / 0.5453 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3569, allocations: 442.6 kB / 0.5457 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.3639, allocations: 1.925 MB / 0.5476 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009614/0.3735, allocations: 2.969 MB / 0.5505 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003669/0.3772, allocations: 2.128 MB / 0.5525 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3792, allocations: 1.019 MB / 0.5535 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.3813, allocations: 1.086 MB / 0.5546 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.3839, allocations: 1.12 MB / 0.5557 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.3845, allocations: 193.1 kB / 0.5559 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009911/0.3945, allocations: 2.391 MB / 0.5582 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3956, allocations: 480.2 kB / 0.5587 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.3972, allocations: 0.8082 MB / 0.5595 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.4107, allocations: 4.831 MB / 0.5642 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4107, allocations: 0 / 0.5642 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4107, allocations: 0 / 0.5642 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.058e-05/0.4107, allocations: 0 / 0.5642 GB, free: 10.94 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.004877/0.4156, allocations: 2.365 MB / 0.5665 GB, free: 8.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4157, allocations: 8.031 kB / 0.5665 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.4159, allocations: 211.5 kB / 0.5667 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.4177, allocations: 407.2 kB / 0.5671 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4194, allocations: 0.84 MB / 0.5679 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.4196, allocations: 222.2 kB / 0.5681 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.4199, allocations: 156.3 kB / 0.5683 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.4234, allocations: 2.052 MB / 0.5703 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.4234, allocations: 4 kB / 0.5703 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.4236, allocations: 60 kB / 0.5703 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.4236, allocations: 36 kB / 0.5704 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004633/0.4283, allocations: 2.717 MB / 0.573 GB, free: 1.734 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.01137/0.4396, allocations: 5.571 MB / 0.5785 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/0.4453, allocations: 2.802 MB / 0.5812 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4467, allocations: 0.8089 MB / 0.582 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00928/0.456, allocations: 3.992 MB / 0.5859 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.4561, allocations: 51.5 kB / 0.5859 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009338/0.457, allocations: 199 kB / 0.5861 GB, free: 4.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=117): time 4.068e-06/0.457, allocations: 0 / 0.5861 GB, free: 4.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.02045/0.4774, allocations: 5.186 MB / 0.5912 GB, free: 14.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.4775, allocations: 68.66 kB / 0.5912 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4789, allocations: 1.069 MB / 0.5923 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.479, allocations: 45.7 kB / 0.5923 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.4796, allocations: 0.6994 MB / 0.593 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.4801, allocations: 0.4958 MB / 0.5935 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005403/0.4806, allocations: 331.4 kB / 0.5938 GB, free: 12.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4807, allocations: 305.1 kB / 0.5941 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.482, allocations: 0.652 MB / 0.5947 GB, free: 11.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.4836, allocations: 1.115 MB / 0.5958 GB, free: 9.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.4866, allocations: 1.808 MB / 0.5976 GB, free: 7.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4866, allocations: 4 kB / 0.5976 GB, free: 7.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006949/0.4935, allocations: 2.432 MB / 0.6 GB, free: 5.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4936, allocations: 8 kB / 0.6 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.4936, allocations: 16 kB / 0.6 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.4965, allocations: 498.1 kB / 0.6005 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.498, allocations: 411.4 kB / 0.6009 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.5039, allocations: 3.644 MB / 0.6044 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5051, allocations: 55.94 kB / 0.6045 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.5053, allocations: 99.95 kB / 0.6046 GB, free: 0.5312 MB / 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.0006774/0.506, allocations: 333.2 kB / 0.6049 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5063, allocations: 127.2 kB / 0.605 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006518/0.5128, allocations: 2.137 MB / 0.6071 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5128, allocations: 16 kB / 0.6071 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5128, allocations: 0 / 0.6071 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.5128, allocations: 7.969 kB / 0.6071 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.5211, allocations: 3.316 MB / 0.6104 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5211, allocations: 0 / 0.6104 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.5223, allocations: 271.7 kB / 0.6106 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/0.525, allocations: 470 kB / 0.6111 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.5251, allocations: 55.91 kB / 0.6111 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.5306, allocations: 3.538 MB / 0.6146 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5306, allocations: 0 / 0.6146 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/0.5378, allocations: 2.754 MB / 0.6173 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.5382, allocations: 111.2 kB / 0.6174 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.5383, allocations: 24 kB / 0.6174 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007282/0.5391, allocations: 31.98 kB / 0.6174 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.5393, allocations: 125.1 kB / 0.6175 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.5395, allocations: 59.95 kB / 0.6176 GB, free: 2.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009267/0.5404, allocations: 0.7147 MB / 0.6183 GB, free: 2.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5404, allocations: 4 kB / 0.6183 GB, free: 2.102 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002767/0.5432, allocations: 0.9583 MB / 0.6192 GB, free: 1.141 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.009692/0.5529, allocations: 4.317 MB / 0.6235 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.5567, allocations: 1.839 MB / 0.6252 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5567, allocations: 0 / 0.6252 GB, free: 10.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.5587, allocations: 0.9829 MB / 0.6262 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.5601, allocations: 255.8 kB / 0.6265 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/0.5867, allocations: 12.33 MB / 0.6385 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.5875, allocations: 0.5982 MB / 0.6391 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.5888, allocations: 328.7 kB / 0.6394 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.5898, allocations: 0.6632 MB / 0.64 GB, free: 11.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5898, allocations: 4 kB / 0.64 GB, free: 11.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.6978, allocations: 48.11 MB / 0.687 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.81, allocations: 10.81 kB / 0.687 GB, free: 11.48 MB / 0.5294 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.664048973005265] Failed to read output from testmodel.py, exit status != 0: 15.963014931883663 15.993785272 15.57745312 Calling exit ...