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.001732/0.001732, 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.002264/0.002264, allocations: 209.3 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.781 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.167/0.167, allocations: 24 MB / 336.4 MB, free: 10.83 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: translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") translateModel(Chemical.Obsolete.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST") [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.002365/0.002365, allocations: 75.89 kB / 471.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3187, allocations: 59.89 MB / 0.5192 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_NIST): time 0.01302/0.3317, allocations: 12.93 MB / 0.5318 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06582/0.3976, allocations: 43.18 MB / 0.574 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.4007, allocations: 51.56 kB / 0.5741 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.4044, allocations: 0.9908 MB / 0.575 GB, free: 288 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.416, allocations: 3.434 MB / 0.5784 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02138/0.4373, allocations: 7.079 MB / 0.5853 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007322/0.4447, allocations: 4.49 MB / 0.5897 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.4479, allocations: 1.889 MB / 0.5915 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/0.4515, allocations: 2.096 MB / 0.5936 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.4559, allocations: 2.082 MB / 0.5956 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.4574, allocations: 384 kB / 0.596 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01693/0.4743, allocations: 5.23 MB / 0.6011 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.4758, allocations: 0.884 MB / 0.6019 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.4789, allocations: 1.653 MB / 0.6036 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02345/0.5023, allocations: 10.21 MB / 0.6135 GB, free: 8.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5024, allocations: 0 / 0.6135 GB, free: 8.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5024, allocations: 0 / 0.6135 GB, free: 8.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000186/0.5025, allocations: 0 / 0.6135 GB, free: 8.641 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.0109/0.5134, allocations: 4.721 MB / 0.6181 GB, free: 3.859 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5135, allocations: 12.03 kB / 0.6182 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/0.5178, allocations: 0.9424 MB / 0.6191 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.5214, allocations: 1.543 MB / 0.6206 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.5216, allocations: 230.6 kB / 0.6208 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000888/0.5225, allocations: 328.3 kB / 0.6211 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009261/0.5318, allocations: 4.527 MB / 0.6255 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.219e-05/0.5319, allocations: 0 / 0.6255 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.5323, allocations: 124 kB / 0.6257 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/0.5324, allocations: 76 kB / 0.6257 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.5432, allocations: 6.419 MB / 0.632 GB, free: 5.531 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.0251/0.5683, allocations: 10.45 MB / 0.6422 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.5761, allocations: 3.729 MB / 0.6458 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002349/0.5784, allocations: 1.175 MB / 0.647 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.5943, allocations: 6.29 MB / 0.6531 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.5943, allocations: 56.06 kB / 0.6532 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.817e-06/0.5943, allocations: 0 / 0.6532 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.04297/0.6373, allocations: 9.413 MB / 0.6624 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6374, allocations: 124.8 kB / 0.6625 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.6418, allocations: 3.276 MB / 0.6657 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003227/0.6422, allocations: 65.7 kB / 0.6658 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.6435, allocations: 1.66 MB / 0.6674 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009701/0.6445, allocations: 0.8328 MB / 0.6682 GB, free: 36 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.6457, allocations: 0.6917 MB / 0.6689 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6458, allocations: 309 kB / 0.6692 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.6482, allocations: 1.417 MB / 0.6705 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.6519, allocations: 2.515 MB / 0.673 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005598/0.6575, allocations: 3.623 MB / 0.6765 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.746e-05/0.6575, allocations: 12 kB / 0.6766 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01394/0.6714, allocations: 5.035 MB / 0.6815 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.6715, allocations: 20 kB / 0.6815 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/0.6716, allocations: 36 kB / 0.6815 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/0.6771, allocations: 0.7076 MB / 0.6822 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.6804, allocations: 0.8386 MB / 0.683 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.6973, allocations: 10.71 MB / 0.6935 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.7001, allocations: 116 kB / 0.6936 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/0.7007, allocations: 204 kB / 0.6938 GB, free: 4.172 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.001333/0.702, allocations: 0.5459 MB / 0.6943 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007272/0.7027, allocations: 250.5 kB / 0.6946 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.7133, allocations: 3.197 MB / 0.6977 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.7134, allocations: 24 kB / 0.6977 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.7134, allocations: 4 kB / 0.6977 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/0.7134, allocations: 15.89 kB / 0.6977 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.7173, allocations: 1.949 MB / 0.6996 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.7173, allocations: 4 kB / 0.6996 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.7191, allocations: 447.8 kB / 0.7001 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/0.7245, allocations: 0.6566 MB / 0.7007 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/0.7248, allocations: 83.95 kB / 0.7008 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.7406, allocations: 10.44 MB / 0.711 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.7406, allocations: 7.938 kB / 0.711 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.7534, allocations: 4.133 MB / 0.715 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/0.7543, allocations: 242.2 kB / 0.7153 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/0.755, allocations: 48 kB / 0.7153 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.7567, allocations: 52 kB / 0.7154 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/0.7572, allocations: 205.5 kB / 0.7156 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/0.7574, allocations: 95.97 kB / 0.7157 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003341/0.7608, allocations: 2.267 MB / 0.7179 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7608, allocations: 0 / 0.7179 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006491/0.7673, allocations: 2.111 MB / 0.7199 GB, free: 8.566 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.005201/0.7725, allocations: 2.296 MB / 0.7222 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006717/0.7792, allocations: 3.639 MB / 0.7257 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.7792, allocations: 8.062 kB / 0.7257 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002992/0.7822, allocations: 1.765 MB / 0.7275 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.7848, allocations: 0.4909 MB / 0.7279 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/0.9936, allocations: 5.219 MB / 0.733 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.9949, allocations: 1.159 MB / 0.7342 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002186/0.9971, allocations: 0.5963 MB / 0.7347 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/0.9979, allocations: 393.6 kB / 0.7351 GB, free: 171 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.9979, allocations: 0.5312 kB / 0.7351 GB, free: 171 MB / 0.5606 GB Notification: Performance of Templates: time 0.08494/1.083, allocations: 74.05 MB / 0.8074 GB, free: 119.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.164032256230712] Failed to read output from testmodel.py, exit status != 0: 1.0914352387189865 1.099534665 0.594789011 Calling exit ...