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.001274/0.001274, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001487/0.001487, allocations: 219.1 kB / 23.04 MB, free: 5.074 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1528/0.1528, allocations: 23.84 MB / 337.1 MB, free: 11.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_NIST",fmuType="cs",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.002021/0.002021, allocations: 59.91 kB / 471.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 59.86 MB / 0.5193 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01298/0.3481, allocations: 14.95 MB / 0.5339 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06559/0.4136, allocations: 49.43 MB / 0.5822 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.4168, allocations: 46.41 kB / 0.5823 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.42, allocations: 1.1 MB / 0.5833 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4306, allocations: 3.482 MB / 0.5867 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02538/0.456, allocations: 7.06 MB / 0.5936 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009088/0.4651, allocations: 4.506 MB / 0.598 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003597/0.4687, allocations: 1.913 MB / 0.5999 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.4724, allocations: 2.096 MB / 0.6019 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.4767, allocations: 2.324 MB / 0.6042 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.4779, allocations: 380 kB / 0.6046 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01858/0.4965, allocations: 5.581 MB / 0.61 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.4979, allocations: 0.884 MB / 0.6109 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003752/0.5017, allocations: 1.96 MB / 0.6128 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02853/0.5302, allocations: 10.25 MB / 0.6228 GB, free: 15.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.5302, allocations: 4 kB / 0.6228 GB, free: 15.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5302, allocations: 0 / 0.6228 GB, free: 15.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.5305, allocations: 0 / 0.6228 GB, free: 15.74 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.01459/0.5451, allocations: 4.744 MB / 0.6275 GB, free: 10.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5451, allocations: 12.03 kB / 0.6275 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.879e-05/0.5452, allocations: 82.39 kB / 0.6275 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001062/0.5463, allocations: 414.4 kB / 0.6279 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.5513, allocations: 0.9425 MB / 0.6289 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/0.5553, allocations: 1.539 MB / 0.6304 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.5556, allocations: 234.6 kB / 0.6306 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.5568, allocations: 324.3 kB / 0.6309 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.5676, allocations: 4.527 MB / 0.6353 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.312e-05/0.5677, allocations: 4 kB / 0.6353 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000615/0.5684, allocations: 124 kB / 0.6354 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/0.5684, allocations: 76 kB / 0.6355 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.5792, allocations: 6.478 MB / 0.6418 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.02782/0.6071, allocations: 12.63 MB / 0.6542 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008335/0.6154, allocations: 3.805 MB / 0.6579 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.6183, allocations: 1.175 MB / 0.659 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/0.6381, allocations: 6.728 MB / 0.6656 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.6381, allocations: 52.06 kB / 0.6657 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.719e-06/0.6381, allocations: 4 kB / 0.6657 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04835/0.6865, allocations: 9.414 MB / 0.6749 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.6866, allocations: 128.7 kB / 0.675 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/0.6919, allocations: 3.393 MB / 0.6783 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000406/0.6923, allocations: 65.7 kB / 0.6783 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.6938, allocations: 1.645 MB / 0.68 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.6949, allocations: 0.8251 MB / 0.6808 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/0.6967, allocations: 0.6994 MB / 0.6814 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6968, allocations: 301.1 kB / 0.6817 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002667/0.6995, allocations: 1.417 MB / 0.6831 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.7031, allocations: 2.515 MB / 0.6856 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/0.7087, allocations: 3.627 MB / 0.6891 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/0.7088, allocations: 8 kB / 0.6891 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01414/0.7229, allocations: 5.051 MB / 0.6941 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.723, allocations: 20 kB / 0.6941 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-05/0.723, allocations: 39.98 kB / 0.6941 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005857/0.7289, allocations: 0.7076 MB / 0.6948 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.7321, allocations: 0.8386 MB / 0.6956 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/0.7496, allocations: 10.95 MB / 0.7063 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.7526, allocations: 120 kB / 0.7064 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/0.7534, allocations: 199.9 kB / 0.7066 GB, free: 7.344 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.001917/0.7553, allocations: 0.548 MB / 0.7072 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/0.7564, allocations: 270.3 kB / 0.7074 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.7686, allocations: 3.207 MB / 0.7105 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.7687, allocations: 24 kB / 0.7106 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.7687, allocations: 3.938 kB / 0.7106 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/0.7687, allocations: 15.95 kB / 0.7106 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.7738, allocations: 2.588 MB / 0.7131 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.7738, allocations: 4 kB / 0.7131 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/0.7758, allocations: 451.8 kB / 0.7135 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005561/0.7813, allocations: 0.6684 MB / 0.7142 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004316/0.7818, allocations: 79.95 kB / 0.7143 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.7979, allocations: 10.67 MB / 0.7247 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.7979, allocations: 4 kB / 0.7247 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2234/1.021, allocations: 4.147 MB / 0.7287 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.022, allocations: 257.8 kB / 0.729 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007249/1.023, allocations: 52.41 kB / 0.729 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.025, allocations: 54.61 kB / 0.7291 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.025, allocations: 205.3 kB / 0.7293 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.025, allocations: 96.5 kB / 0.7294 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00313/1.028, allocations: 2.393 MB / 0.7317 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.028, allocations: 2.875 kB / 0.7317 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008067/1.037, allocations: 2.11 MB / 0.7338 GB, free: 174.1 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.01784/1.054, allocations: 6.924 MB / 0.7405 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00617/1.061, allocations: 3.646 MB / 0.7441 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.381e-06/1.061, allocations: 1.25 kB / 0.7441 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/1.063, allocations: 1.777 MB / 0.7458 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/1.066, allocations: 499.2 kB / 0.7463 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04512/1.111, allocations: 26.13 MB / 0.7718 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/1.112, allocations: 1.717 MB / 0.7735 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002199/1.114, allocations: 0.6145 MB / 0.7741 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.116, allocations: 1.427 MB / 0.7755 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.116, allocations: 0 / 0.7755 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.255, allocations: 96.75 MB / 0.87 GB, free: 57.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/22.58, allocations: 0 / 0.87 GB, free: 57.91 MB / 0.5606 GB " [Timeout remaining time 637] (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 sys.exit(0), Time elapsed: 25.859680599998683] Failed to read output from testmodel.py, exit status != 0: 22.814677227986977 22.835442044 22.300660438 Calling exit ...