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.001391/0.001391, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00147/0.00147, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.777 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.1378/0.1378, allocations: 24 MB / 336.4 MB, free: 10.84 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.002095/0.002095, allocations: 71.89 kB / 471.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3113, allocations: 59.89 MB / 0.5187 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01211/0.3234, allocations: 12.93 MB / 0.5314 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06263/0.386, allocations: 43.18 MB / 0.5735 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/0.3898, allocations: 47.62 kB / 0.5736 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.3937, allocations: 0.9924 MB / 0.5745 GB, free: 296 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.4055, allocations: 3.437 MB / 0.5779 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02156/0.427, allocations: 7.075 MB / 0.5848 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00722/0.4343, allocations: 4.498 MB / 0.5892 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.4374, allocations: 1.886 MB / 0.591 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.4409, allocations: 2.096 MB / 0.5931 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003958/0.4449, allocations: 2.07 MB / 0.5951 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.4462, allocations: 384 kB / 0.5955 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/0.4634, allocations: 5.237 MB / 0.6006 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.4649, allocations: 0.884 MB / 0.6015 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.4683, allocations: 1.65 MB / 0.6031 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.4944, allocations: 10.22 MB / 0.613 GB, free: 8.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4944, allocations: 0 / 0.613 GB, free: 8.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4944, allocations: 0 / 0.613 GB, free: 8.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002079/0.4946, allocations: 0 / 0.613 GB, free: 8.648 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.01044/0.5051, allocations: 4.718 MB / 0.6177 GB, free: 3.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5051, allocations: 12.02 kB / 0.6177 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005411/0.5057, allocations: 422.3 kB / 0.6181 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.5098, allocations: 0.9463 MB / 0.619 GB, free: 2.484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/0.5131, allocations: 1.547 MB / 0.6205 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5133, allocations: 238.6 kB / 0.6207 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006214/0.5139, allocations: 316.3 kB / 0.621 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007958/0.5219, allocations: 4.531 MB / 0.6255 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.522, allocations: 0 / 0.6255 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.5223, allocations: 124 kB / 0.6256 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/0.5223, allocations: 76 kB / 0.6256 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.5328, allocations: 6.419 MB / 0.6319 GB, free: 5.109 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.02346/0.5563, allocations: 10.82 MB / 0.6425 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.5637, allocations: 3.729 MB / 0.6461 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.5659, allocations: 1.179 MB / 0.6473 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/0.5823, allocations: 6.319 MB / 0.6534 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.5824, allocations: 52.06 kB / 0.6535 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.431e-06/0.5824, allocations: 0 / 0.6535 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.0422/0.6246, allocations: 9.419 MB / 0.6627 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.6247, allocations: 124.8 kB / 0.6628 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/0.6291, allocations: 3.474 MB / 0.6662 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.6294, allocations: 69.64 kB / 0.6663 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.6308, allocations: 1.641 MB / 0.6679 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008938/0.6317, allocations: 0.829 MB / 0.6687 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.6327, allocations: 0.6994 MB / 0.6694 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6328, allocations: 301.1 kB / 0.6697 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.6351, allocations: 1.417 MB / 0.671 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/0.6385, allocations: 2.515 MB / 0.6735 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/0.644, allocations: 3.623 MB / 0.677 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.733e-05/0.6441, allocations: 12 kB / 0.677 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01312/0.6572, allocations: 5.047 MB / 0.682 GB, free: 424 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.6572, allocations: 20 kB / 0.682 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/0.6573, allocations: 36 kB / 0.682 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/0.6628, allocations: 0.7075 MB / 0.6827 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.6657, allocations: 0.8386 MB / 0.6835 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.6823, allocations: 10.86 MB / 0.6941 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/0.685, allocations: 116 kB / 0.6942 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.6853, allocations: 199.9 kB / 0.6944 GB, free: 2.953 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.001129/0.6865, allocations: 0.5513 MB / 0.695 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/0.6871, allocations: 274.2 kB / 0.6952 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.6978, allocations: 3.203 MB / 0.6984 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.6978, allocations: 24 kB / 0.6984 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6978, allocations: 3.938 kB / 0.6984 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.6978, allocations: 15.95 kB / 0.6984 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/0.7017, allocations: 2.219 MB / 0.7006 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7018, allocations: 8.062 kB / 0.7006 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.7034, allocations: 447.4 kB / 0.701 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00542/0.7089, allocations: 0.6644 MB / 0.7017 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/0.7091, allocations: 83.95 kB / 0.7017 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/0.7245, allocations: 10.57 MB / 0.7121 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.7245, allocations: 4 kB / 0.7121 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.7363, allocations: 4.149 MB / 0.7161 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/0.737, allocations: 254.1 kB / 0.7164 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.7375, allocations: 55.92 kB / 0.7164 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.7389, allocations: 52 kB / 0.7165 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/0.7394, allocations: 213.5 kB / 0.7167 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/0.7396, allocations: 87.97 kB / 0.7167 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003156/0.7427, allocations: 2.397 MB / 0.7191 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7427, allocations: 0 / 0.7191 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00636/0.7491, allocations: 2.111 MB / 0.7211 GB, free: 6.668 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.2415/0.9905, allocations: 6.914 MB / 0.7279 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00641/0.997, allocations: 3.644 MB / 0.7315 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.997, allocations: 2.812 kB / 0.7315 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.9999, allocations: 1.769 MB / 0.7332 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.003, allocations: 0.5057 MB / 0.7337 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05196/1.055, allocations: 26.12 MB / 0.7592 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/1.057, allocations: 1.16 MB / 0.7603 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002662/1.059, allocations: 0.6073 MB / 0.7609 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.061, allocations: 1.431 MB / 0.7623 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.773e-06/1.061, allocations: 4 kB / 0.7623 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1756/1.237, allocations: 97.56 MB / 0.8576 GB, free: 68.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/19.03, allocations: 10.95 kB / 0.8576 GB, free: 68.2 MB / 0.5606 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 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.772531555965543] Failed to read output from testmodel.py, exit status != 0: 19.20841655228287 19.218636699 18.721654198 Calling exit ...