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.001462/0.001462, allocations: 108.4 kB / 16.46 MB, free: 6.457 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.001709/0.001709, allocations: 212.3 kB / 19.43 MB, free: 3.625 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.603/1.603, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1451/0.1451, allocations: 23.84 MB / 332.7 MB, free: 12.34 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.001953/0.001953, allocations: 59.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 59.82 MB / 0.5135 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01485/0.3793, allocations: 14.86 MB / 0.528 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06696/0.4463, allocations: 49.32 MB / 0.5761 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/0.4501, allocations: 46.78 kB / 0.5762 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.4544, allocations: 1.101 MB / 0.5773 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.4675, allocations: 3.447 MB / 0.5806 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02388/0.4914, allocations: 6.994 MB / 0.5875 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008155/0.4995, allocations: 4.507 MB / 0.5919 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.5028, allocations: 1.916 MB / 0.5937 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.5064, allocations: 2.1 MB / 0.5958 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.5105, allocations: 2.312 MB / 0.598 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.5115, allocations: 384 kB / 0.5984 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/0.5331, allocations: 5.585 MB / 0.6039 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.5351, allocations: 0.8879 MB / 0.6047 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004273/0.5394, allocations: 1.956 MB / 0.6066 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03111/0.5705, allocations: 10.24 MB / 0.6166 GB, free: 1.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.5705, allocations: 0 / 0.6166 GB, free: 1.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5705, allocations: 8 kB / 0.6167 GB, free: 1.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.5706, allocations: 0 / 0.6167 GB, free: 1.191 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.01358/0.5842, allocations: 4.812 MB / 0.6214 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.5843, allocations: 8.031 kB / 0.6214 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006786/0.585, allocations: 422.4 kB / 0.6218 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/0.5897, allocations: 0.9346 MB / 0.6227 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.5935, allocations: 1.619 MB / 0.6243 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.5937, allocations: 238.6 kB / 0.6245 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006285/0.5944, allocations: 320.3 kB / 0.6248 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007813/0.6022, allocations: 4.468 MB / 0.6292 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.6022, allocations: 0 / 0.6292 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.6025, allocations: 128 kB / 0.6293 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.6026, allocations: 79.94 kB / 0.6293 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.6129, allocations: 6.361 MB / 0.6356 GB, free: 13.58 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.02737/0.6403, allocations: 12.66 MB / 0.6479 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0085/0.6488, allocations: 4.475 MB / 0.6523 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.6513, allocations: 1.176 MB / 0.6534 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/0.6735, allocations: 12.2 MB / 0.6653 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.526e-05/0.6735, allocations: 52.19 kB / 0.6654 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=182): time 5.089e-06/0.6736, allocations: 0 / 0.6654 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=227): time 0.04681/0.7204, allocations: 9.877 MB / 0.675 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.7205, allocations: 132.7 kB / 0.6752 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.7255, allocations: 3.323 MB / 0.6784 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004809/0.726, allocations: 61.7 kB / 0.6785 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.7274, allocations: 1.641 MB / 0.6801 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.7287, allocations: 0.829 MB / 0.6809 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.73, allocations: 0.6917 MB / 0.6816 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.7302, allocations: 305.1 kB / 0.6819 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.7327, allocations: 1.381 MB / 0.6832 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.7363, allocations: 2.484 MB / 0.6856 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/0.742, allocations: 3.588 MB / 0.6891 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/0.7421, allocations: 8 kB / 0.6891 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01434/0.7564, allocations: 4.98 MB / 0.694 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.7565, allocations: 23.94 kB / 0.694 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.515e-05/0.7565, allocations: 32 kB / 0.6941 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006021/0.7625, allocations: 0.7114 MB / 0.6948 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.7668, allocations: 0.8425 MB / 0.6956 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.7853, allocations: 11.55 MB / 0.7069 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/0.789, allocations: 120.1 kB / 0.707 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/0.7896, allocations: 191.9 kB / 0.7072 GB, free: 136 kB / 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.001293/0.7909, allocations: 0.5514 MB / 0.7077 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/0.7916, allocations: 270.4 kB / 0.7079 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.803, allocations: 3.214 MB / 0.7111 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.803, allocations: 24 kB / 0.7111 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/0.803, allocations: 4 kB / 0.7111 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-05/0.8031, allocations: 11.95 kB / 0.7111 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/0.8083, allocations: 2.613 MB / 0.7137 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.8083, allocations: 4 kB / 0.7137 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.8101, allocations: 451.8 kB / 0.7141 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00571/0.8158, allocations: 0.6683 MB / 0.7148 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004496/0.8162, allocations: 75.97 kB / 0.7148 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2802/1.096, allocations: 11.28 MB / 0.7259 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.096, allocations: 5.406 kB / 0.7259 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.109, allocations: 4.157 MB / 0.7299 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/1.11, allocations: 332.7 kB / 0.7302 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/1.11, allocations: 52.48 kB / 0.7303 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.112, allocations: 53.17 kB / 0.7303 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/1.112, allocations: 197.6 kB / 0.7305 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.113, allocations: 96.94 kB / 0.7306 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002737/1.115, allocations: 2.34 MB / 0.7329 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.115, allocations: 0 / 0.7329 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006947/1.122, allocations: 2.113 MB / 0.735 GB, free: 169.3 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.01976/1.142, allocations: 6.922 MB / 0.7417 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007797/1.15, allocations: 3.613 MB / 0.7453 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.15, allocations: 0 / 0.7453 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.154, allocations: 1.772 MB / 0.747 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.157, allocations: 0.5069 MB / 0.7475 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05218/1.21, allocations: 25.93 MB / 0.7728 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.211, allocations: 1.716 MB / 0.7745 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002559/1.213, allocations: 0.6107 MB / 0.7751 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.215, allocations: 1.43 MB / 0.7765 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.215, allocations: 4 kB / 0.7765 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/1.366, allocations: 93.93 MB / 0.8682 GB, free: 54.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/21.64, allocations: 0 / 0.8682 GB, free: 54.13 MB / 0.5606 GB " [Timeout remaining time 638] (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: 24.74097817200527] Failed to read output from testmodel.py, exit status != 0: 21.790111402995535 21.806297189 21.232450635 Calling exit ...