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.00139/0.00139, 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.001666/0.001666, allocations: 215.5 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.793 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.1611/0.1611, allocations: 23.88 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.002311/0.002311, allocations: 67.89 kB / 471.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3742, allocations: 59.86 MB / 0.5185 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01331/0.3875, allocations: 12.93 MB / 0.5312 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06248/0.45, allocations: 43.18 MB / 0.5733 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.4534, allocations: 43.62 kB / 0.5734 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.4577, allocations: 1 MB / 0.5744 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.4703, allocations: 3.438 MB / 0.5777 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02179/0.4921, allocations: 7.075 MB / 0.5846 GB, free: 5.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007047/0.4991, allocations: 4.498 MB / 0.589 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.5024, allocations: 1.878 MB / 0.5908 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5058, allocations: 2.104 MB / 0.5929 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.5097, allocations: 2.07 MB / 0.5949 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.5108, allocations: 384 kB / 0.5953 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.5287, allocations: 5.234 MB / 0.6004 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.5301, allocations: 0.884 MB / 0.6013 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.5331, allocations: 1.653 MB / 0.6029 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02755/0.5606, allocations: 10.21 MB / 0.6129 GB, free: 8.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.5606, allocations: 3.984 kB / 0.6129 GB, free: 8.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5606, allocations: 0 / 0.6129 GB, free: 8.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002197/0.5609, allocations: 0 / 0.6129 GB, free: 8.879 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.01316/0.574, allocations: 4.721 MB / 0.6175 GB, free: 4.098 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5741, allocations: 12.03 kB / 0.6175 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008961/0.575, allocations: 418.4 kB / 0.6179 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.5795, allocations: 0.9346 MB / 0.6188 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/0.5835, allocations: 1.547 MB / 0.6203 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.5838, allocations: 230.6 kB / 0.6205 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008867/0.5847, allocations: 328.2 kB / 0.6208 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008502/0.5932, allocations: 4.527 MB / 0.6253 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.5932, allocations: 0 / 0.6253 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.5935, allocations: 128 kB / 0.6254 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/0.5936, allocations: 80 kB / 0.6255 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.6048, allocations: 6.415 MB / 0.6317 GB, free: 5.344 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.02536/0.6301, allocations: 10.82 MB / 0.6423 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.6375, allocations: 3.739 MB / 0.6459 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.6397, allocations: 1.171 MB / 0.6471 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.6556, allocations: 6.323 MB / 0.6533 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.6557, allocations: 56 kB / 0.6533 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.759e-06/0.6557, allocations: 4 kB / 0.6533 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04432/0.7, allocations: 9.41 MB / 0.6625 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7001, allocations: 128.8 kB / 0.6626 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.705, allocations: 3.47 MB / 0.666 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.7054, allocations: 69.7 kB / 0.6661 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.7067, allocations: 1.637 MB / 0.6677 GB, free: 104 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7077, allocations: 0.8331 MB / 0.6685 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.709, allocations: 0.6917 MB / 0.6692 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7092, allocations: 301.1 kB / 0.6695 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.7116, allocations: 1.42 MB / 0.6708 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.7152, allocations: 2.519 MB / 0.6733 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/0.7214, allocations: 3.619 MB / 0.6768 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.962e-05/0.7215, allocations: 12 kB / 0.6768 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01551/0.737, allocations: 5.043 MB / 0.6818 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.7371, allocations: 20 kB / 0.6818 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/0.7371, allocations: 36 kB / 0.6818 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/0.7427, allocations: 0.7075 MB / 0.6825 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.7459, allocations: 0.8347 MB / 0.6833 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.763, allocations: 10.85 MB / 0.6939 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/0.7661, allocations: 116 kB / 0.694 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007025/0.7668, allocations: 199.9 kB / 0.6942 GB, free: 3.195 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.001661/0.7685, allocations: 0.5552 MB / 0.6948 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009621/0.7694, allocations: 274.2 kB / 0.695 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.781, allocations: 3.203 MB / 0.6982 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.7811, allocations: 24 kB / 0.6982 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.7811, allocations: 4 kB / 0.6982 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.074e-05/0.7812, allocations: 11.95 kB / 0.6982 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.7867, allocations: 2.219 MB / 0.7004 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.7867, allocations: 7.938 kB / 0.7004 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.7886, allocations: 443.5 kB / 0.7008 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005498/0.7941, allocations: 0.6723 MB / 0.7015 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/0.7944, allocations: 75.97 kB / 0.7015 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.8102, allocations: 10.57 MB / 0.7118 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8102, allocations: 7.969 kB / 0.7119 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.8234, allocations: 4.153 MB / 0.7159 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009078/0.8243, allocations: 262.1 kB / 0.7162 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007283/0.825, allocations: 48 kB / 0.7162 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.8272, allocations: 60 kB / 0.7163 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006606/0.8278, allocations: 205.5 kB / 0.7165 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/0.8281, allocations: 91.97 kB / 0.7165 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003977/0.8321, allocations: 2.393 MB / 0.7189 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8321, allocations: 0 / 0.7189 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008439/0.8406, allocations: 2.115 MB / 0.721 GB, free: 6.902 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.2417/1.082, allocations: 6.908 MB / 0.7277 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006386/1.089, allocations: 3.649 MB / 0.7313 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.089, allocations: 2.922 kB / 0.7313 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002991/1.092, allocations: 1.768 MB / 0.733 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/1.095, allocations: 0.4991 MB / 0.7335 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04988/1.144, allocations: 26.11 MB / 0.759 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.146, allocations: 1.17 MB / 0.7601 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002374/1.148, allocations: 0.604 MB / 0.7607 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.15, allocations: 1.425 MB / 0.7621 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.15, allocations: 0 / 0.7621 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.146/1.296, allocations: 97.58 MB / 0.8574 GB, free: 68.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.2, allocations: 0 / 0.8574 GB, free: 68.34 MB / 0.5606 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 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.14729034388438] Failed to read output from testmodel.py, exit status != 0: 19.3806542721577 19.400062116 18.835394569 Calling exit ...