Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.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.001279/0.001279, allocations: 99.75 kB / 18.95 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.001417/0.001417, allocations: 218.5 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.805 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.1297/0.1297, allocations: 23.89 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.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",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.002/0.002, allocations: 67.91 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3064, allocations: 59.86 MB / 0.5185 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01251/0.3189, allocations: 12.93 MB / 0.5312 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05584/0.3747, allocations: 43.18 MB / 0.5733 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.3784, allocations: 43.62 kB / 0.5734 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004193/0.3826, allocations: 0.9924 MB / 0.5743 GB, free: 464 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.3945, allocations: 3.438 MB / 0.5777 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02114/0.4156, allocations: 7.075 MB / 0.5846 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007194/0.4228, allocations: 4.491 MB / 0.589 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.4257, allocations: 1.929 MB / 0.5909 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.4287, allocations: 2.096 MB / 0.5929 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.4323, allocations: 2.32 MB / 0.5952 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009119/0.4332, allocations: 384 kB / 0.5956 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.4487, allocations: 5.37 MB / 0.6008 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.4502, allocations: 0.884 MB / 0.6017 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.453, allocations: 1.653 MB / 0.6033 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02635/0.4794, allocations: 10.21 MB / 0.6132 GB, free: 8.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4794, allocations: 0 / 0.6132 GB, free: 8.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4794, allocations: 7.938 kB / 0.6133 GB, free: 8.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.4795, allocations: 0 / 0.6133 GB, free: 8.395 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01026/0.4898, allocations: 4.733 MB / 0.6179 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4898, allocations: 12.03 kB / 0.6179 GB, free: 3.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005053/0.4903, allocations: 414.4 kB / 0.6183 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/0.4944, allocations: 0.9386 MB / 0.6192 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.4976, allocations: 1.547 MB / 0.6207 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.4978, allocations: 230.6 kB / 0.6209 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/0.4984, allocations: 324.3 kB / 0.6212 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00744/0.5058, allocations: 4.527 MB / 0.6257 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.865e-05/0.5059, allocations: 0 / 0.6257 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.5062, allocations: 128 kB / 0.6258 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/0.5062, allocations: 76 kB / 0.6259 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009693/0.5159, allocations: 6.415 MB / 0.6321 GB, free: 4.855 MB / 478.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.02414/0.5401, allocations: 10.82 MB / 0.6427 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007233/0.5473, allocations: 3.731 MB / 0.6463 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.5494, allocations: 1.179 MB / 0.6475 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/0.5648, allocations: 6.319 MB / 0.6537 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.5649, allocations: 56 kB / 0.6537 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.299e-06/0.5649, allocations: 0 / 0.6537 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0407/0.6056, allocations: 9.406 MB / 0.6629 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.6057, allocations: 132.7 kB / 0.663 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.6099, allocations: 3.47 MB / 0.6664 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.6103, allocations: 69.64 kB / 0.6665 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.6116, allocations: 1.645 MB / 0.6681 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008845/0.6125, allocations: 0.8329 MB / 0.6689 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009875/0.6135, allocations: 0.6878 MB / 0.6696 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6136, allocations: 301.1 kB / 0.6699 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.6158, allocations: 1.42 MB / 0.6712 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.6189, allocations: 2.515 MB / 0.6737 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.6239, allocations: 3.623 MB / 0.6772 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/0.6239, allocations: 8 kB / 0.6772 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01244/0.6364, allocations: 5.051 MB / 0.6822 GB, free: 168 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.6364, allocations: 24 kB / 0.6822 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.6365, allocations: 36 kB / 0.6822 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/0.6417, allocations: 0.7075 MB / 0.6829 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.6447, allocations: 0.8385 MB / 0.6837 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.6605, allocations: 10.85 MB / 0.6943 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.6632, allocations: 112 kB / 0.6944 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.6636, allocations: 199.9 kB / 0.6946 GB, free: 2.703 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.6648, allocations: 0.5513 MB / 0.6952 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/0.6654, allocations: 274.2 kB / 0.6954 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/0.6754, allocations: 3.211 MB / 0.6986 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.6754, allocations: 28 kB / 0.6986 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.6754, allocations: 4 kB / 0.6986 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/0.6754, allocations: 11.95 kB / 0.6986 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.6792, allocations: 2.218 MB / 0.7008 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.6793, allocations: 4.375 kB / 0.7008 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.6809, allocations: 447.4 kB / 0.7012 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/0.686, allocations: 0.6644 MB / 0.7019 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.6862, allocations: 75.97 kB / 0.7019 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.7006, allocations: 10.57 MB / 0.7123 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7006, allocations: 4.031 kB / 0.7123 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.7118, allocations: 4.165 MB / 0.7163 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/0.7125, allocations: 250.1 kB / 0.7166 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/0.7129, allocations: 59.92 kB / 0.7166 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7142, allocations: 52 kB / 0.7167 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.7147, allocations: 205.5 kB / 0.7169 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.7148, allocations: 95.97 kB / 0.717 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002881/0.7177, allocations: 2.393 MB / 0.7193 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7177, allocations: 0 / 0.7193 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006036/0.7238, allocations: 2.111 MB / 0.7214 GB, free: 6.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2092/0.933, allocations: 6.912 MB / 0.7281 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00594/0.9389, allocations: 3.647 MB / 0.7317 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9389, allocations: 1.062 kB / 0.7317 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.9415, allocations: 1.772 MB / 0.7334 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.9442, allocations: 0.4948 MB / 0.7339 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04655/0.9908, allocations: 26.11 MB / 0.7594 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.9921, allocations: 1.162 MB / 0.7605 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002132/0.9942, allocations: 0.6091 MB / 0.7611 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.9955, allocations: 1.433 MB / 0.7625 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/0.9955, allocations: 4 kB / 0.7625 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/1.131, allocations: 98.61 MB / 0.8588 GB, free: 67.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.76, allocations: 14.95 kB / 0.8588 GB, free: 67.23 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.416413640981773] Failed to read output from testmodel.py, exit status != 0: 17.93202059000032 17.941099702 17.459245069 Calling exit ...