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.0016/0.0016, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.001917/0.001917, allocations: 212.9 kB / 19.42 MB, free: 3.656 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1393/0.1393, allocations: 23.85 MB / 332.7 MB, free: 12.38 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: 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.002119/0.002119, allocations: 67.91 kB / 466.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 59.82 MB / 0.5139 GB, free: 9.156 MB / 382.1 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.04121/0.364, allocations: 29.59 MB / 0.5428 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1808/0.5448, allocations: 150.5 MB / 0.6898 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.5464, allocations: 27.88 kB / 0.6899 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.5497, allocations: 1.095 MB / 0.6909 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.5524, allocations: 0.8843 MB / 0.6918 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.5559, allocations: 1.415 MB / 0.6932 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003726/0.5596, allocations: 2.287 MB / 0.6954 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007848/0.5604, allocations: 495 kB / 0.6959 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5615, allocations: 0.7863 MB / 0.6966 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.5627, allocations: 0.9452 MB / 0.6976 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003362/0.563, allocations: 212 kB / 0.6978 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.5675, allocations: 1.759 MB / 0.6995 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008235/0.5683, allocations: 0.6541 MB / 0.7001 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.5696, allocations: 1.228 MB / 0.7013 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006627/0.5762, allocations: 4.266 MB / 0.7055 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5762, allocations: 0 / 0.7055 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5763, allocations: 0 / 0.7055 GB, free: 6.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.5763, allocations: 0 / 0.7055 GB, free: 6.5 MB / 0.545 GB 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.004778/0.5811, allocations: 2.749 MB / 0.7082 GB, free: 3.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5811, allocations: 8.031 kB / 0.7082 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5824, allocations: 466.8 kB / 0.7086 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.5844, allocations: 1.211 MB / 0.7098 GB, free: 1.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.5847, allocations: 299.8 kB / 0.7101 GB, free: 1.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.585, allocations: 200.3 kB / 0.7103 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.5956, allocations: 8.005 MB / 0.7181 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.5956, allocations: 0 / 0.7181 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.5958, allocations: 79.98 kB / 0.7182 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004055/0.5962, allocations: 340.6 kB / 0.7185 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2358/0.8319, allocations: 13.32 MB / 0.7315 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.8589, allocations: 20.18 MB / 0.7512 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.8635, allocations: 3.748 MB / 0.7549 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/0.8663, allocations: 2.607 MB / 0.7574 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002186/0.8685, allocations: 1.617 MB / 0.759 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.8685, allocations: 41.66 kB / 0.759 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.8685, allocations: 3.281 kB / 0.759 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.02978/0.8983, allocations: 15.1 MB / 0.7738 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003638/0.902, allocations: 3.322 MB / 0.777 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.9051, allocations: 3.189 MB / 0.7801 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005009/0.9056, allocations: 45.7 kB / 0.7802 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.9062, allocations: 1.042 MB / 0.7812 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.9067, allocations: 357.6 kB / 0.7815 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008074/0.9075, allocations: 386.8 kB / 0.7819 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.9075, allocations: 342.9 kB / 0.7822 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.9107, allocations: 3.198 MB / 0.7854 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.9139, allocations: 3.425 MB / 0.7887 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03005/0.9439, allocations: 10.26 MB / 0.7987 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.9439, allocations: 0 / 0.7987 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008546/0.9525, allocations: 6.584 MB / 0.8052 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9525, allocations: 8 kB / 0.8052 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.9525, allocations: 13.56 kB / 0.8052 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.9532, allocations: 442.1 kB / 0.8056 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009199/0.9624, allocations: 1.063 MB / 0.8066 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.9693, allocations: 8.642 MB / 0.8151 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.9711, allocations: 43.97 kB / 0.8151 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/0.9717, allocations: 283.9 kB / 0.8154 GB, free: 119.7 MB / 0.5606 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.001476/0.9731, allocations: 0.6384 MB / 0.816 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00085/0.974, allocations: 270.2 kB / 0.8163 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006572/0.9806, allocations: 3.211 MB / 0.8194 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.9806, allocations: 10.77 kB / 0.8194 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9806, allocations: 0 / 0.8194 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9806, allocations: 7.984 kB / 0.8194 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/0.9881, allocations: 5.853 MB / 0.8251 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.9881, allocations: 8 kB / 0.8251 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005737/0.9938, allocations: 477.9 kB / 0.8256 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.9949, allocations: 231.6 kB / 0.8258 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.995, allocations: 27.98 kB / 0.8258 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005779/1.001, allocations: 6.896 MB / 0.8326 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002279/1.003, allocations: 2.002 MB / 0.8345 GB, free: 99.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/1.007, allocations: 2.185 MB / 0.8367 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/1.008, allocations: 449.8 kB / 0.8371 GB, free: 96.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/1.009, allocations: 24 kB / 0.8371 GB, free: 96.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.01, allocations: 35.97 kB / 0.8372 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.01, allocations: 97.78 kB / 0.8373 GB, free: 96.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/1.01, allocations: 31.98 kB / 0.8373 GB, free: 96.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004492/1.015, allocations: 4.008 MB / 0.8412 GB, free: 92.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.015, allocations: 0 / 0.8412 GB, free: 92.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002307/1.017, allocations: 0.6922 MB / 0.8419 GB, free: 91.62 MB / 0.5606 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.0006685/1.018, allocations: 402.8 kB / 0.8423 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006735/1.025, allocations: 3.898 MB / 0.8461 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.025, allocations: 2.688 kB / 0.8461 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003692/1.028, allocations: 1.065 MB / 0.8471 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.032, allocations: 0.6523 MB / 0.8477 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/1.038, allocations: 4.406 MB / 0.852 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.039, allocations: 1.669 MB / 0.8537 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001678/1.041, allocations: 0.5523 MB / 0.8542 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.042, allocations: 251.4 kB / 0.8545 GB, free: 78.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.042, allocations: 0 / 0.8545 GB, free: 78.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.0794/1.121, allocations: 62.61 MB / 0.9156 GB, free: 16.88 MB / 0.5606 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 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.593807864934206] Failed to read output from testmodel.py, exit status != 0: 1.1295421048998833 1.138208363 0.559766195 Calling exit ...