Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_2.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.0008019/0.0008019, allocations: 76.45 kB / 19.9 MB, free: 8 kB / 13.93 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.0007299/0.0007299, allocations: 169.9 kB / 23.18 MB, free: 1.375 MB / 18.57 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 0.8893/0.8893, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.09106/0.09106, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 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: translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") [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.001012/0.001012, allocations: 68.48 kB / 412.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1595, allocations: 59.85 MB / 472.6 MB, free: 13.88 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.03505/0.1946, allocations: 28.88 MB / 0.4898 GB, free: 1.062 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.5536/0.7482, allocations: 128.8 MB / 0.6156 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.7498, allocations: 30.38 kB / 0.6156 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.7531, allocations: 0.9889 MB / 0.6166 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.7563, allocations: 0.8747 MB / 0.6174 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.7601, allocations: 1.337 MB / 0.6187 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004394/0.7645, allocations: 2.281 MB / 0.621 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.7653, allocations: 424 kB / 0.6214 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.7672, allocations: 1.252 MB / 0.6226 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.7685, allocations: 0.8137 MB / 0.6234 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004972/0.769, allocations: 211 kB / 0.6236 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.7723, allocations: 1.15 MB / 0.6247 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006772/0.773, allocations: 0.6582 MB / 0.6253 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.7745, allocations: 0.9109 MB / 0.6262 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00682/0.7813, allocations: 4.115 MB / 0.6303 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.7813, allocations: 3.984 kB / 0.6303 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7813, allocations: 0 / 0.6303 GB, free: 12.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.7815, allocations: 0 / 0.6303 GB, free: 12.44 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.004852/0.7863, allocations: 2.679 MB / 0.6329 GB, free: 10.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.7864, allocations: 14.59 kB / 0.6329 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.7877, allocations: 0.5444 MB / 0.6334 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.7894, allocations: 1.157 MB / 0.6345 GB, free: 9.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.7897, allocations: 363.4 kB / 0.6349 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.7899, allocations: 204.2 kB / 0.6351 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006665/0.7965, allocations: 8.381 MB / 0.6433 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.7966, allocations: 3.938 kB / 0.6433 GB, free: 4.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7967, allocations: 83 kB / 0.6434 GB, free: 4.598 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/0.7969, allocations: 341 kB / 0.6437 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.8069, allocations: 13.92 MB / 0.6573 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.8305, allocations: 18.88 MB / 0.6757 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.8348, allocations: 3.833 MB / 0.6795 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.8375, allocations: 2.67 MB / 0.6821 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.8385, allocations: 0.582 MB / 0.6826 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8385, allocations: 39.22 kB / 0.6827 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=82): time 3.958e-06/0.8385, allocations: 0 / 0.6827 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102): time 0.0257/0.8642, allocations: 15.02 MB / 0.6973 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003914/0.8681, allocations: 3.206 MB / 0.7005 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.8703, allocations: 1.274 MB / 0.7017 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005823/0.8709, allocations: 41.7 kB / 0.7018 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/0.8716, allocations: 1.113 MB / 0.7028 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/0.8723, allocations: 365.1 kB / 0.7032 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/0.8729, allocations: 394.8 kB / 0.7036 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8731, allocations: 349.9 kB / 0.7039 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/0.8766, allocations: 3.301 MB / 0.7071 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004398/0.881, allocations: 3.515 MB / 0.7106 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/0.8986, allocations: 9.527 MB / 0.7199 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.8986, allocations: 0 / 0.7199 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009696/0.9083, allocations: 6.616 MB / 0.7263 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.9083, allocations: 8 kB / 0.7263 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.9083, allocations: 8 kB / 0.7263 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/0.9091, allocations: 458.6 kB / 0.7268 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/0.9143, allocations: 1.077 MB / 0.7278 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/0.9228, allocations: 8.315 MB / 0.7359 GB, free: 9.961 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.924, allocations: 55.95 kB / 0.736 GB, free: 9.906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/0.9244, allocations: 279.9 kB / 0.7363 GB, free: 9.633 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.9259, allocations: 0.6274 MB / 0.7369 GB, free: 8.996 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.9263, allocations: 139.1 kB / 0.737 GB, free: 8.859 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.9308, allocations: 3.181 MB / 0.7401 GB, free: 5.602 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.9308, allocations: 15.12 kB / 0.7401 GB, free: 5.59 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9308, allocations: 0 / 0.7401 GB, free: 5.59 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.9308, allocations: 3.984 kB / 0.7401 GB, free: 5.586 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.9385, allocations: 5.719 MB / 0.7457 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.9385, allocations: 8 kB / 0.7457 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/0.9414, allocations: 487.8 kB / 0.7462 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000637/0.942, allocations: 235.9 kB / 0.7464 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.9421, allocations: 27.98 kB / 0.7464 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.9471, allocations: 6.32 MB / 0.7526 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001611/0.9487, allocations: 1.822 MB / 0.7544 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.952, allocations: 2.182 MB / 0.7565 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007478/0.9527, allocations: 147.1 kB / 0.7567 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.953, allocations: 20.06 kB / 0.7567 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.9534, allocations: 51.95 kB / 0.7567 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.9537, allocations: 104.2 kB / 0.7568 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.9537, allocations: 35.98 kB / 0.7569 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002556/0.9563, allocations: 2.647 MB / 0.7595 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9563, allocations: 0 / 0.7595 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002406/0.9587, allocations: 0.6559 MB / 0.7601 GB, free: 404 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008326/0.9595, allocations: 393.1 kB / 0.7605 GB, free: 56 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005738/0.9653, allocations: 4.047 MB / 0.7644 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.9653, allocations: 0 / 0.7644 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.9677, allocations: 1.113 MB / 0.7655 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.9693, allocations: 341.5 kB / 0.7658 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.9756, allocations: 4.132 MB / 0.7699 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.977, allocations: 1.113 MB / 0.771 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001332/0.9783, allocations: 400.9 kB / 0.7713 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.9789, allocations: 196.4 kB / 0.7715 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of SimCode: time 1.704e-06/0.9789, allocations: 0 / 0.7715 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of Templates: time 0.06192/1.041, allocations: 54.36 MB / 0.8246 GB, free: 14.61 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.142573143006302] Failed to read output from testmodel.py, exit status != 0: 1.2745697899954394 1.060284776 0.276721899 Calling exit ...