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.001622/0.001622, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002326/0.002326, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 8.02 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.1301/0.1301, allocations: 23.86 MB / 336.3 MB, free: 11.23 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.001898/0.001898, allocations: 75.88 kB / 471.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2819, allocations: 59.86 MB / 0.5186 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01242/0.2943, allocations: 14.96 MB / 0.5332 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05891/0.3532, allocations: 49.43 MB / 0.5815 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.3557, allocations: 47.34 kB / 0.5815 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.3585, allocations: 1.099 MB / 0.5826 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009941/0.3685, allocations: 3.476 MB / 0.586 GB, free: 4.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01969/0.3882, allocations: 7.067 MB / 0.5929 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00719/0.3954, allocations: 4.502 MB / 0.5973 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.398, allocations: 1.909 MB / 0.5991 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002841/0.4008, allocations: 2.1 MB / 0.6012 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/0.4046, allocations: 2.32 MB / 0.6034 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006759/0.4053, allocations: 388 kB / 0.6038 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0191/0.4244, allocations: 5.593 MB / 0.6093 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.4258, allocations: 0.8762 MB / 0.6101 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.4285, allocations: 1.96 MB / 0.6121 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02382/0.4524, allocations: 10.25 MB / 0.6221 GB, free: 15.76 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4524, allocations: 0 / 0.6221 GB, free: 15.76 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4524, allocations: 3.938 kB / 0.6221 GB, free: 15.76 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.934e-05/0.4525, allocations: 0 / 0.6221 GB, free: 15.76 MB / 478.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.009415/0.4619, allocations: 4.74 MB / 0.6267 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4619, allocations: 8.031 kB / 0.6267 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000495/0.4624, allocations: 422.4 kB / 0.6271 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.4663, allocations: 0.9346 MB / 0.628 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.4693, allocations: 1.539 MB / 0.6295 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.4695, allocations: 242.6 kB / 0.6297 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000503/0.47, allocations: 316.3 kB / 0.6301 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006937/0.4769, allocations: 4.527 MB / 0.6345 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.477, allocations: 3.938 kB / 0.6345 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.4773, allocations: 132 kB / 0.6346 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.4773, allocations: 76 kB / 0.6347 GB, free: 2.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009321/0.4867, allocations: 6.478 MB / 0.641 GB, free: 12.15 MB / 494.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.0216/0.5083, allocations: 12.63 MB / 0.6533 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/0.5152, allocations: 3.794 MB / 0.657 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.5171, allocations: 1.175 MB / 0.6582 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/0.5324, allocations: 6.728 MB / 0.6648 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.5324, allocations: 52.06 kB / 0.6648 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.217e-06/0.5324, allocations: 0 / 0.6648 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04376/0.5762, allocations: 9.414 MB / 0.674 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.5763, allocations: 124.8 kB / 0.6741 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.5805, allocations: 3.401 MB / 0.6774 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/0.5808, allocations: 61.7 kB / 0.6775 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.582, allocations: 1.637 MB / 0.6791 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.583, allocations: 0.8329 MB / 0.6799 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.5841, allocations: 0.6878 MB / 0.6806 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5842, allocations: 309.1 kB / 0.6809 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.5864, allocations: 1.413 MB / 0.6823 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00319/0.5896, allocations: 2.527 MB / 0.6847 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/0.5946, allocations: 3.623 MB / 0.6883 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.5946, allocations: 8 kB / 0.6883 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01324/0.6079, allocations: 5.047 MB / 0.6932 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.6079, allocations: 20 kB / 0.6932 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.304e-05/0.608, allocations: 36 kB / 0.6933 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.6137, allocations: 0.7153 MB / 0.694 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.6166, allocations: 0.8424 MB / 0.6948 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.6333, allocations: 10.93 MB / 0.7054 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.6362, allocations: 112 kB / 0.7056 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/0.6367, allocations: 199.9 kB / 0.7057 GB, free: 7.469 MB / 0.545 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.001194/0.6379, allocations: 0.5519 MB / 0.7063 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/0.6385, allocations: 266.3 kB / 0.7065 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.6493, allocations: 3.222 MB / 0.7097 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.6493, allocations: 24 kB / 0.7097 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6493, allocations: 0 / 0.7097 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/0.6494, allocations: 15.95 kB / 0.7097 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.6535, allocations: 2.593 MB / 0.7123 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.6535, allocations: 4 kB / 0.7123 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.6552, allocations: 451.3 kB / 0.7127 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/0.661, allocations: 0.6684 MB / 0.7133 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/0.6613, allocations: 79.97 kB / 0.7134 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.6767, allocations: 10.68 MB / 0.7238 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.6767, allocations: 7.938 kB / 0.7238 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2226/0.8993, allocations: 4.15 MB / 0.7279 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/0.9001, allocations: 252.5 kB / 0.7281 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000642/0.9007, allocations: 52.02 kB / 0.7282 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.9023, allocations: 55.25 kB / 0.7282 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/0.9028, allocations: 206.4 kB / 0.7284 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/0.903, allocations: 95.41 kB / 0.7285 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003257/0.9062, allocations: 2.395 MB / 0.7309 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9062, allocations: 0 / 0.7309 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008731/0.915, allocations: 2.11 MB / 0.7329 GB, free: 172.9 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.01781/0.9328, allocations: 6.921 MB / 0.7397 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006434/0.9392, allocations: 3.645 MB / 0.7433 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.9392, allocations: 0 / 0.7433 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/0.9418, allocations: 1.772 MB / 0.745 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.9444, allocations: 0.5058 MB / 0.7455 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/0.9902, allocations: 26.12 MB / 0.771 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.9912, allocations: 1.714 MB / 0.7727 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00206/0.9933, allocations: 0.6248 MB / 0.7733 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.9946, allocations: 1.427 MB / 0.7747 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.9946, allocations: 0 / 0.7747 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/1.137, allocations: 96.7 MB / 0.8691 GB, free: 57.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/20.79, allocations: 7.188 kB / 0.8691 GB, free: 57.53 MB / 0.5606 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 23.493320093002694] Failed to read output from testmodel.py, exit status != 0: 20.95407230500132 20.963163715 20.508546719 Calling exit ...