Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001713/0.001713, 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.002283/0.002283, allocations: 220.4 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.824 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.1373/0.1373, allocations: 23.91 MB / 336.3 MB, free: 10.96 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.GasSolubility_NIST,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_master_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.001965/0.001965, allocations: 71.89 kB / 471.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3209, allocations: 59.88 MB / 0.5186 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01191/0.3328, allocations: 12.93 MB / 0.5312 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05819/0.391, allocations: 43.18 MB / 0.5734 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.3942, allocations: 47.62 kB / 0.5735 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.3978, allocations: 0.9924 MB / 0.5744 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.4096, allocations: 3.434 MB / 0.5778 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02053/0.4301, allocations: 7.079 MB / 0.5847 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007007/0.4371, allocations: 4.494 MB / 0.5891 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.44, allocations: 1.925 MB / 0.591 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.4433, allocations: 2.1 MB / 0.593 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.4472, allocations: 2.324 MB / 0.5953 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.4483, allocations: 384 kB / 0.5956 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0164/0.4647, allocations: 5.37 MB / 0.6009 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.4663, allocations: 0.884 MB / 0.6018 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003063/0.4694, allocations: 1.65 MB / 0.6034 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02607/0.4954, allocations: 10.21 MB / 0.6133 GB, free: 8.434 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4954, allocations: 0 / 0.6133 GB, free: 8.434 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4954, allocations: 3.938 kB / 0.6133 GB, free: 8.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.4956, allocations: 0 / 0.6133 GB, free: 8.43 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.01089/0.5065, allocations: 4.725 MB / 0.618 GB, free: 3.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5065, allocations: 16.03 kB / 0.618 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007184/0.5072, allocations: 422.4 kB / 0.6184 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.5116, allocations: 0.9268 MB / 0.6193 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.5154, allocations: 1.551 MB / 0.6208 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.5156, allocations: 234.6 kB / 0.621 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000839/0.5165, allocations: 320.3 kB / 0.6213 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008736/0.5252, allocations: 4.527 MB / 0.6257 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.5253, allocations: 0 / 0.6257 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.5256, allocations: 128 kB / 0.6259 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.994e-05/0.5256, allocations: 76 kB / 0.6259 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.5359, allocations: 6.415 MB / 0.6322 GB, free: 4.898 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.02319/0.5591, allocations: 10.83 MB / 0.6428 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007547/0.5666, allocations: 3.724 MB / 0.6464 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.569, allocations: 1.175 MB / 0.6476 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01607/0.5851, allocations: 6.323 MB / 0.6537 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.5852, allocations: 52.06 kB / 0.6538 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.949e-06/0.5852, allocations: 3.938 kB / 0.6538 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04066/0.6258, allocations: 9.414 MB / 0.663 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.6259, allocations: 132.7 kB / 0.6631 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/0.6311, allocations: 3.47 MB / 0.6665 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003616/0.6315, allocations: 65.7 kB / 0.6666 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.6328, allocations: 1.641 MB / 0.6682 GB, free: 15.65 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009284/0.6338, allocations: 0.8368 MB / 0.669 GB, free: 14.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.6349, allocations: 0.6878 MB / 0.6696 GB, free: 14.11 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.6351, allocations: 305.1 kB / 0.6699 GB, free: 13.81 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.6375, allocations: 1.42 MB / 0.6713 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003656/0.6411, allocations: 2.519 MB / 0.6738 GB, free: 9.387 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.6466, allocations: 3.619 MB / 0.6773 GB, free: 5.277 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.6467, allocations: 8 kB / 0.6773 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01278/0.6594, allocations: 5.043 MB / 0.6823 GB, free: 208 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.6595, allocations: 20 kB / 0.6823 GB, free: 188 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.6596, allocations: 36 kB / 0.6823 GB, free: 152 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/0.6648, allocations: 0.7076 MB / 0.683 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/0.6678, allocations: 0.8424 MB / 0.6838 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.6861, allocations: 10.85 MB / 0.6944 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004991/0.6911, allocations: 112 kB / 0.6945 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007701/0.6919, allocations: 199.9 kB / 0.6947 GB, free: 2.742 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.001801/0.6937, allocations: 0.5474 MB / 0.6953 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/0.6949, allocations: 274.2 kB / 0.6955 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.7112, allocations: 3.207 MB / 0.6986 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/0.7112, allocations: 24 kB / 0.6987 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.7113, allocations: 4 kB / 0.6987 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/0.7113, allocations: 15.95 kB / 0.6987 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.718, allocations: 2.207 MB / 0.7008 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.718, allocations: 4 kB / 0.7008 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/0.7212, allocations: 451.8 kB / 0.7013 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008206/0.7294, allocations: 0.6683 MB / 0.7019 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005426/0.73, allocations: 75.97 kB / 0.702 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02425/0.7542, allocations: 10.57 MB / 0.7123 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.7542, allocations: 4.031 kB / 0.7123 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/0.7739, allocations: 4.161 MB / 0.7164 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.7753, allocations: 258.1 kB / 0.7166 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009605/0.7762, allocations: 55.94 kB / 0.7167 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/0.779, allocations: 55.98 kB / 0.7167 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/0.7797, allocations: 201.5 kB / 0.7169 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/0.78, allocations: 95.95 kB / 0.717 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005358/0.7854, allocations: 2.389 MB / 0.7194 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7854, allocations: 0 / 0.7194 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01104/0.7964, allocations: 2.119 MB / 0.7214 GB, free: 6.457 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.2643/1.061, allocations: 6.912 MB / 0.7282 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006546/1.067, allocations: 3.638 MB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.067, allocations: 1.031 kB / 0.7317 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.07, allocations: 1.776 MB / 0.7335 GB, free: 174 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.073, allocations: 0.5007 MB / 0.734 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0533/1.127, allocations: 26.12 MB / 0.7595 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.128, allocations: 1.164 MB / 0.7606 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0023/1.13, allocations: 0.6077 MB / 0.7612 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.132, allocations: 1.431 MB / 0.7626 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/1.132, allocations: 0 / 0.7626 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/1.306, allocations: 98.63 MB / 0.8589 GB, free: 67.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/18.12, allocations: 7.125 kB / 0.8589 GB, free: 67.28 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_GasSolubility_NIST.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.014130868017673] Failed to read output from testmodel.py, exit status != 0: 18.33200321800541 18.348777686 17.849754067 Calling exit ...