Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 114.9 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 197.2 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09541/0.09541, allocations: 15.55 MB / 318.9 MB, free: 13.59 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 65.77 kB / 446.1 MB, free: 47.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.1005, allocations: 56.55 MB / 0.4909 GB, free: 20.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01125/0.1117, allocations: 14.83 MB / 0.5053 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06036/0.1721, allocations: 49.24 MB / 0.5534 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.1752, allocations: 35.81 kB / 0.5535 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.179, allocations: 1.101 MB / 0.5545 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.1903, allocations: 3.445 MB / 0.5579 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.2097, allocations: 6.981 MB / 0.5647 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007558/0.2173, allocations: 4.494 MB / 0.5691 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.2204, allocations: 1.909 MB / 0.571 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.2235, allocations: 2.061 MB / 0.573 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.2274, allocations: 2.324 MB / 0.5753 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.2283, allocations: 380 kB / 0.5756 GB, free: 296 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01719/0.2455, allocations: 5.585 MB / 0.5811 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.247, allocations: 0.8879 MB / 0.5819 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003488/0.2505, allocations: 1.952 MB / 0.5839 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.2748, allocations: 9.988 MB / 0.5936 GB, free: 13.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2748, allocations: 0 / 0.5936 GB, free: 13.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.2748, allocations: 4 kB / 0.5936 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001264/0.2749, allocations: 0 / 0.5936 GB, free: 13.81 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.009728/0.2846, allocations: 4.808 MB / 0.5983 GB, free: 8.926 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2847, allocations: 12.03 kB / 0.5983 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/0.2887, allocations: 0.9346 MB / 0.5992 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.2919, allocations: 1.607 MB / 0.6008 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.2921, allocations: 238.6 kB / 0.601 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005492/0.2927, allocations: 320.3 kB / 0.6013 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/0.2999, allocations: 4.461 MB / 0.6057 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.2999, allocations: 3.938 kB / 0.6057 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002885/0.3002, allocations: 128 kB / 0.6058 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/0.3003, allocations: 76 kB / 0.6059 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2604/0.5607, allocations: 6.365 MB / 0.6121 GB, free: 96.88 MB / 462.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.02149/0.5822, allocations: 12.63 MB / 0.6244 GB, free: 90.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005915/0.5881, allocations: 4.461 MB / 0.6288 GB, free: 87.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.5897, allocations: 1.175 MB / 0.6299 GB, free: 87.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/0.604, allocations: 12.18 MB / 0.6418 GB, free: 76.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.604, allocations: 51.88 kB / 0.6419 GB, free: 76.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=182): time 3.577e-06/0.604, allocations: 3.5 kB / 0.6419 GB, free: 76.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=227): time 0.04/0.644, allocations: 9.879 MB / 0.6515 GB, free: 67.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.6441, allocations: 128.7 kB / 0.6517 GB, free: 67.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.6474, allocations: 3.317 MB / 0.6549 GB, free: 64.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.6477, allocations: 65.7 kB / 0.655 GB, free: 64.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/0.6484, allocations: 1.644 MB / 0.6566 GB, free: 62.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.649, allocations: 0.8329 MB / 0.6574 GB, free: 62.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007688/0.6498, allocations: 0.6878 MB / 0.658 GB, free: 61.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.6498, allocations: 306 kB / 0.6583 GB, free: 61.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.6514, allocations: 1.381 MB / 0.6597 GB, free: 59.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.6536, allocations: 2.483 MB / 0.6621 GB, free: 56.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.6571, allocations: 3.591 MB / 0.6656 GB, free: 52.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.6572, allocations: 8 kB / 0.6656 GB, free: 52.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01145/0.6686, allocations: 4.976 MB / 0.6705 GB, free: 47.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.6686, allocations: 20 kB / 0.6705 GB, free: 47.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.793e-05/0.6687, allocations: 38.77 kB / 0.6705 GB, free: 47.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005613/0.6743, allocations: 0.7035 MB / 0.6712 GB, free: 47.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.6771, allocations: 0.8416 MB / 0.672 GB, free: 46.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.6899, allocations: 11.55 MB / 0.6833 GB, free: 33.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.6928, allocations: 120 kB / 0.6834 GB, free: 33.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.6932, allocations: 195.9 kB / 0.6836 GB, free: 33.55 MB / 462.1 MB 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.001061/0.6943, allocations: 0.548 MB / 0.6842 GB, free: 33.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/0.6949, allocations: 274.2 kB / 0.6844 GB, free: 32.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009479/0.7044, allocations: 3.217 MB / 0.6876 GB, free: 29.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.7044, allocations: 20 kB / 0.6876 GB, free: 29.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.7044, allocations: 8 kB / 0.6876 GB, free: 29.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.7045, allocations: 11.95 kB / 0.6876 GB, free: 29.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.7081, allocations: 2.597 MB / 0.6901 GB, free: 26.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.7081, allocations: 4 kB / 0.6901 GB, free: 26.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.7096, allocations: 451.3 kB / 0.6906 GB, free: 26.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005218/0.7148, allocations: 0.6745 MB / 0.6912 GB, free: 25.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003167/0.7151, allocations: 79.97 kB / 0.6913 GB, free: 25.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.7268, allocations: 11.29 MB / 0.7023 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7268, allocations: 4 kB / 0.7023 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.7372, allocations: 4.153 MB / 0.7064 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/0.738, allocations: 333.4 kB / 0.7067 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/0.7384, allocations: 52 kB / 0.7068 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.7398, allocations: 51.98 kB / 0.7068 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.7402, allocations: 197.7 kB / 0.707 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.7403, allocations: 95.89 kB / 0.7071 GB, free: 8.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.7424, allocations: 2.342 MB / 0.7094 GB, free: 6.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7424, allocations: 0 / 0.7094 GB, free: 6.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005382/0.7477, allocations: 2.116 MB / 0.7114 GB, free: 4.105 MB / 462.1 MB 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.003738/0.7515, allocations: 2.271 MB / 0.7137 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00596/0.7574, allocations: 3.614 MB / 0.7172 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.7575, allocations: 4 kB / 0.7172 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.7605, allocations: 1.77 MB / 0.7189 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.7633, allocations: 0.5096 MB / 0.7194 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00951/0.7728, allocations: 5.286 MB / 0.7246 GB, free: 6.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7744, allocations: 1.717 MB / 0.7263 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.7758, allocations: 0.521 MB / 0.7268 GB, free: 4.449 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.7758, allocations: 4 kB / 0.7268 GB, free: 4.445 MB / 478.1 MB Notification: Performance of Templates: time 0.3681/1.144, allocations: 122 MB / 0.8459 GB, free: 186.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.193980513999122] Failed to read output from testmodel.py, exit status != 0: 1.3397706099931384 1.160455698 0.8834186629999999 Calling exit ...