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.00128/0.00128, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001451/0.001451, allocations: 211.9 kB / 22.25 MB, free: 5.086 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8.016 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.1337/0.1337, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001931/0.001931, allocations: 63.91 kB / 471.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 59.87 MB / 0.5187 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01411/0.3087, allocations: 14.94 MB / 0.5333 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05942/0.3681, allocations: 49.43 MB / 0.5815 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.3709, allocations: 46.59 kB / 0.5816 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.3751, allocations: 1.108 MB / 0.5826 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.3871, allocations: 3.476 MB / 0.586 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01952/0.4066, allocations: 7.063 MB / 0.5929 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007332/0.4139, allocations: 4.51 MB / 0.5973 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002864/0.4168, allocations: 1.909 MB / 0.5992 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.4198, allocations: 2.096 MB / 0.6013 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/0.4238, allocations: 2.324 MB / 0.6035 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009423/0.4247, allocations: 384 kB / 0.6039 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01958/0.4443, allocations: 5.589 MB / 0.6093 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.4463, allocations: 0.8801 MB / 0.6102 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.4499, allocations: 1.956 MB / 0.6121 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02636/0.4763, allocations: 10.25 MB / 0.6221 GB, free: 15.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4763, allocations: 4 kB / 0.6221 GB, free: 15.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4763, allocations: 0 / 0.6221 GB, free: 15.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.937e-05/0.4764, allocations: 0 / 0.6221 GB, free: 15.66 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.00967/0.486, allocations: 4.741 MB / 0.6268 GB, free: 10.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4861, allocations: 8.031 kB / 0.6268 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004943/0.4866, allocations: 418.4 kB / 0.6272 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.4905, allocations: 0.9386 MB / 0.6281 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.4938, allocations: 1.547 MB / 0.6296 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.494, allocations: 234.6 kB / 0.6298 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006094/0.4947, allocations: 324.3 kB / 0.6301 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.5023, allocations: 4.531 MB / 0.6346 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.5023, allocations: 0 / 0.6346 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/0.5026, allocations: 124 kB / 0.6347 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/0.5027, allocations: 72 kB / 0.6347 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009669/0.5123, allocations: 6.482 MB / 0.6411 GB, free: 12.05 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.02306/0.5354, allocations: 12.64 MB / 0.6534 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.5425, allocations: 3.792 MB / 0.6571 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.5446, allocations: 1.172 MB / 0.6583 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01506/0.5597, allocations: 6.739 MB / 0.6648 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5597, allocations: 52.06 kB / 0.6649 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.466e-06/0.5597, allocations: 0 / 0.6649 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04383/0.6036, allocations: 9.422 MB / 0.6741 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6037, allocations: 124.8 kB / 0.6742 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/0.6082, allocations: 3.393 MB / 0.6775 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.6086, allocations: 65.7 kB / 0.6776 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.6098, allocations: 1.641 MB / 0.6792 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/0.6107, allocations: 0.8251 MB / 0.68 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.6117, allocations: 0.6956 MB / 0.6807 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6118, allocations: 301.1 kB / 0.681 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.614, allocations: 1.424 MB / 0.6824 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/0.6176, allocations: 2.515 MB / 0.6848 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/0.6227, allocations: 3.631 MB / 0.6884 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.6227, allocations: 8 kB / 0.6884 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01336/0.6361, allocations: 5.054 MB / 0.6933 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.6361, allocations: 20 kB / 0.6933 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-05/0.6362, allocations: 36 kB / 0.6933 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/0.6418, allocations: 0.7076 MB / 0.694 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.6449, allocations: 0.8386 MB / 0.6949 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.6611, allocations: 10.93 MB / 0.7055 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.664, allocations: 120 kB / 0.7056 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004181/0.6644, allocations: 199.9 kB / 0.7058 GB, free: 7.348 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.001112/0.6655, allocations: 0.5479 MB / 0.7064 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6661, allocations: 266.3 kB / 0.7066 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.6769, allocations: 3.211 MB / 0.7098 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6769, allocations: 27.98 kB / 0.7098 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.6769, allocations: 4 kB / 0.7098 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/0.6769, allocations: 7.969 kB / 0.7098 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004235/0.6812, allocations: 2.592 MB / 0.7123 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.6812, allocations: 4 kB / 0.7123 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.6829, allocations: 455.7 kB / 0.7128 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/0.6885, allocations: 0.6566 MB / 0.7134 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/0.6888, allocations: 83.95 kB / 0.7135 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.7043, allocations: 10.68 MB / 0.7239 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.7043, allocations: 4 kB / 0.7239 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2139/0.9182, allocations: 4.147 MB / 0.728 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007102/0.9189, allocations: 253.9 kB / 0.7282 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005709/0.9194, allocations: 53.56 kB / 0.7283 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.9209, allocations: 53.81 kB / 0.7283 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/0.9214, allocations: 206.7 kB / 0.7285 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.9216, allocations: 95.05 kB / 0.7286 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002613/0.9242, allocations: 2.395 MB / 0.7309 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9242, allocations: 0 / 0.7309 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005914/0.9301, allocations: 2.111 MB / 0.733 GB, free: 172.8 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.01683/0.9469, allocations: 6.929 MB / 0.7398 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005971/0.9529, allocations: 3.642 MB / 0.7433 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9529, allocations: 0 / 0.7433 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.9556, allocations: 1.771 MB / 0.7451 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.9587, allocations: 0.5014 MB / 0.7455 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04478/1.003, allocations: 26.13 MB / 0.7711 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.005, allocations: 1.724 MB / 0.7727 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002632/1.007, allocations: 0.6103 MB / 0.7733 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/1.009, allocations: 1.428 MB / 0.7747 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of SimCode: time 3.226e-06/1.009, allocations: 0 / 0.7747 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/1.155, allocations: 96.7 MB / 0.8692 GB, free: 57.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.81/20.96, allocations: 7.109 kB / 0.8692 GB, free: 57.33 MB / 0.5606 GB " [Timeout remaining time 639] (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 sys.exit(0), Time elapsed: 23.684796096000355] Failed to read output from testmodel.py, exit status != 0: 21.13097966400528 21.140197645 20.661461581 Calling exit ...