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.001748/0.001748, allocations: 95.64 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.002413/0.002413, allocations: 212.6 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.809 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.1415/0.1415, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.002041/0.002041, allocations: 71.89 kB / 471.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 59.85 MB / 0.5185 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01904/0.3615, allocations: 12.93 MB / 0.5312 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06471/0.4262, allocations: 43.18 MB / 0.5733 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.4295, allocations: 51.62 kB / 0.5734 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.4332, allocations: 1 MB / 0.5743 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.4446, allocations: 3.438 MB / 0.5777 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02458/0.4692, allocations: 7.067 MB / 0.5846 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009641/0.4788, allocations: 4.502 MB / 0.589 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/0.4833, allocations: 1.878 MB / 0.5908 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.4875, allocations: 2.1 MB / 0.5929 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/0.4916, allocations: 2.07 MB / 0.5949 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.4929, allocations: 388 kB / 0.5953 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/0.5122, allocations: 5.233 MB / 0.6004 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.5137, allocations: 0.8879 MB / 0.6013 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.5171, allocations: 1.65 MB / 0.6029 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02655/0.5437, allocations: 10.21 MB / 0.6128 GB, free: 9.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.5437, allocations: 3.938 kB / 0.6128 GB, free: 9.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5437, allocations: 0 / 0.6128 GB, free: 9.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000204/0.5439, allocations: 0 / 0.6128 GB, free: 9.055 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.01197/0.5559, allocations: 4.721 MB / 0.6175 GB, free: 4.273 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5559, allocations: 12.03 kB / 0.6175 GB, free: 4.262 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.5569, allocations: 418.4 kB / 0.6179 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.5615, allocations: 0.9425 MB / 0.6188 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.565, allocations: 1.543 MB / 0.6203 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.5653, allocations: 234.5 kB / 0.6205 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/0.566, allocations: 328.3 kB / 0.6208 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5762, allocations: 4.531 MB / 0.6253 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.01e-05/0.5762, allocations: 0 / 0.6253 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/0.5766, allocations: 124 kB / 0.6254 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.5767, allocations: 72 kB / 0.6254 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.5876, allocations: 6.419 MB / 0.6317 GB, free: 5.52 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.02263/0.6102, allocations: 10.82 MB / 0.6423 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.6177, allocations: 3.723 MB / 0.6459 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.62, allocations: 1.175 MB / 0.6471 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.6359, allocations: 6.327 MB / 0.6532 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.636, allocations: 59.98 kB / 0.6533 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.99e-06/0.636, allocations: 0 / 0.6533 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04345/0.6794, allocations: 9.414 MB / 0.6625 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6795, allocations: 128.8 kB / 0.6626 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/0.6841, allocations: 3.474 MB / 0.666 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.6845, allocations: 65.7 kB / 0.6661 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.6858, allocations: 1.637 MB / 0.6677 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.6868, allocations: 0.8331 MB / 0.6685 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.6879, allocations: 0.6917 MB / 0.6692 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6881, allocations: 301.1 kB / 0.6694 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.6904, allocations: 1.417 MB / 0.6708 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.6939, allocations: 2.519 MB / 0.6733 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00555/0.6995, allocations: 3.623 MB / 0.6768 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/0.6995, allocations: 12 kB / 0.6768 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01399/0.7135, allocations: 5.043 MB / 0.6818 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.7136, allocations: 20 kB / 0.6818 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.046e-05/0.7136, allocations: 36 kB / 0.6818 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005611/0.7192, allocations: 0.7075 MB / 0.6825 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/0.7225, allocations: 0.8386 MB / 0.6833 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.7402, allocations: 10.85 MB / 0.6939 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.7433, allocations: 120 kB / 0.694 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/0.7438, allocations: 200 kB / 0.6942 GB, free: 3.363 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.001236/0.745, allocations: 0.5551 MB / 0.6948 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000696/0.7457, allocations: 270.2 kB / 0.695 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/0.7565, allocations: 3.199 MB / 0.6982 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/0.7566, allocations: 24 kB / 0.6982 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.7566, allocations: 7.984 kB / 0.6982 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/0.7566, allocations: 7.969 kB / 0.6982 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.7609, allocations: 2.222 MB / 0.7004 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.7609, allocations: 7.984 kB / 0.7004 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.7627, allocations: 439.9 kB / 0.7008 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005434/0.7681, allocations: 0.6722 MB / 0.7014 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003251/0.7684, allocations: 79.95 kB / 0.7015 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.7843, allocations: 10.57 MB / 0.7118 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7843, allocations: 7.938 kB / 0.7119 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.7962, allocations: 4.153 MB / 0.7159 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.797, allocations: 262.1 kB / 0.7162 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.7974, allocations: 51.98 kB / 0.7162 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.7987, allocations: 48 kB / 0.7163 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.7992, allocations: 209.5 kB / 0.7165 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/0.7995, allocations: 95.95 kB / 0.7165 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003176/0.8026, allocations: 2.393 MB / 0.7189 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8027, allocations: 0 / 0.7189 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006639/0.8093, allocations: 2.111 MB / 0.7209 GB, free: 7.074 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.01776/0.827, allocations: 6.916 MB / 0.7277 GB, free: 60 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2329/1.06, allocations: 3.639 MB / 0.7313 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.06, allocations: 2.656 kB / 0.7313 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002556/1.062, allocations: 1.768 MB / 0.733 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.065, allocations: 0.5034 MB / 0.7335 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05148/1.116, allocations: 26.12 MB / 0.759 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.118, allocations: 1.169 MB / 0.7601 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002369/1.12, allocations: 0.6054 MB / 0.7607 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.122, allocations: 1.433 MB / 0.7621 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.122, allocations: 0 / 0.7621 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/1.263, allocations: 97.57 MB / 0.8574 GB, free: 69.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.14/19.4, allocations: 11.56 kB / 0.8574 GB, free: 69.4 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.4043407170102] Failed to read output from testmodel.py, exit status != 0: 19.582067597657442 19.601305706 19.053594877 Calling exit ...