Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001573/0.001573, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001788/0.001788, allocations: 209.9 kB / 22.99 MB, free: 4.957 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1318/0.1318, allocations: 23.93 MB / 337.1 MB, free: 10.92 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.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.00201/0.00201, allocations: 67.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3018, allocations: 59.88 MB / 0.5198 GB, free: 9.816 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1816:5-1816: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 master/Interfaces.mo:1816:5-1816: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 master/Interfaces.mo:1697:7-1697: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 master/Interfaces.mo:1697:7-1697: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.07096/0.3728, allocations: 28.55 MB / 0.5477 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.164/0.5368, allocations: 128.8 MB / 0.6735 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.5387, allocations: 39.75 kB / 0.6736 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.5423, allocations: 0.9321 MB / 0.6745 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.5458, allocations: 0.9115 MB / 0.6754 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.5497, allocations: 1.33 MB / 0.6767 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.554, allocations: 2.279 MB / 0.6789 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007876/0.5548, allocations: 423.5 kB / 0.6793 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/0.5561, allocations: 0.8291 MB / 0.6801 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.5577, allocations: 1.094 MB / 0.6812 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003678/0.5581, allocations: 200 kB / 0.6814 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.5614, allocations: 1.1 MB / 0.6824 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.5621, allocations: 0.6072 MB / 0.683 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.5634, allocations: 0.8779 MB / 0.6839 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006159/0.5696, allocations: 3.939 MB / 0.6877 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.5696, allocations: 4 kB / 0.6877 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5696, allocations: 4 kB / 0.6877 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.333e-05/0.5697, allocations: 0 / 0.6877 GB, free: 13.29 MB / 0.5294 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.004749/0.5744, allocations: 2.623 MB / 0.6903 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5744, allocations: 8.031 kB / 0.6903 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5763, allocations: 0.5144 MB / 0.6908 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.5781, allocations: 0.9501 MB / 0.6917 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.5784, allocations: 267.3 kB / 0.692 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.5787, allocations: 196.4 kB / 0.6922 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/0.5878, allocations: 6.974 MB / 0.699 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/0.5879, allocations: 3.938 kB / 0.699 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.5881, allocations: 83.92 kB / 0.6991 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003991/0.5885, allocations: 328.6 kB / 0.6994 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.6027, allocations: 12.19 MB / 0.7113 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.6232, allocations: 11.72 MB / 0.7227 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.6264, allocations: 1.798 MB / 0.7245 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.6283, allocations: 1.166 MB / 0.7256 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.6411, allocations: 6.123 MB / 0.7316 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2458/0.8869, allocations: 44.34 kB / 0.7317 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 4.529e-06/0.8869, allocations: 1.641 kB / 0.7317 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.02354/0.9105, allocations: 8.351 MB / 0.7398 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.9105, allocations: 65.25 kB / 0.7399 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.9126, allocations: 1.148 MB / 0.741 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003517/0.913, allocations: 40.95 kB / 0.741 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.9138, allocations: 1.175 MB / 0.7422 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.9142, allocations: 335.9 kB / 0.7425 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007689/0.915, allocations: 361.4 kB / 0.7428 GB, free: 185 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.9151, allocations: 352.8 kB / 0.7432 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.9171, allocations: 1.25 MB / 0.7444 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.9193, allocations: 1.67 MB / 0.746 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/0.9235, allocations: 3.01 MB / 0.749 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.9235, allocations: 4.406 kB / 0.749 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006669/0.9302, allocations: 3.389 MB / 0.7523 GB, free: 180 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.9302, allocations: 13.44 kB / 0.7523 GB, free: 180 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.61e-05/0.9302, allocations: 14.09 kB / 0.7523 GB, free: 180 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.9308, allocations: 198.5 kB / 0.7525 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008687/0.9395, allocations: 0.761 MB / 0.7532 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004956/0.9445, allocations: 5.631 MB / 0.7587 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.9461, allocations: 66.06 kB / 0.7588 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005412/0.9466, allocations: 223.8 kB / 0.759 GB, free: 174.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 2 (CO2_g_25.substanceDefinitionVar.SelfClustering,CO2_g_25.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 141 * 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,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001636/0.9482, allocations: 0.6508 MB / 0.7597 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.9488, allocations: 137.6 kB / 0.7598 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.9547, allocations: 2.51 MB / 0.7622 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.9547, allocations: 6.875 kB / 0.7622 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9547, allocations: 2.594 kB / 0.7623 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.9547, allocations: 4.938 kB / 0.7623 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/0.9614, allocations: 3.017 MB / 0.7652 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.9615, allocations: 6.312 kB / 0.7652 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007403/0.9689, allocations: 0.506 MB / 0.7657 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.9693, allocations: 156.4 kB / 0.7659 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.9695, allocations: 24.45 kB / 0.7659 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/0.9736, allocations: 5.658 MB / 0.7714 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9736, allocations: 4.844 kB / 0.7714 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.9773, allocations: 1.665 MB / 0.773 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.9776, allocations: 111.8 kB / 0.7731 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/0.978, allocations: 22.81 kB / 0.7732 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/0.979, allocations: 38.66 kB / 0.7732 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.9791, allocations: 77.03 kB / 0.7733 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.9792, allocations: 27.14 kB / 0.7733 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001819/0.981, allocations: 1.768 MB / 0.775 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.981, allocations: 0 / 0.775 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00194/0.9829, allocations: 0.5105 MB / 0.7755 GB, free: 163.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (CO2_dissolutionP.rear.n_flow,CO2_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 (73): * Single equations (assignments): 69 * 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,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005998/0.9835, allocations: 391.4 kB / 0.7759 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005888/0.9894, allocations: 2.203 MB / 0.778 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9894, allocations: 0 / 0.778 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.9934, allocations: 0.9391 MB / 0.779 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.995, allocations: 316 kB / 0.7793 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/1.001, allocations: 3.881 MB / 0.7831 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.002, allocations: 1.085 MB / 0.7841 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001544/1.004, allocations: 486.9 kB / 0.7846 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/1.005, allocations: 205.9 kB / 0.7848 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.005, allocations: 0 / 0.7848 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.04382/1.048, allocations: 39.06 MB / 0.8229 GB, free: 116.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_master_Chemical.Examples.GasSolubility_NIST_2.sim & ./Chemical_master_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.349542864001705] Failed to read output from testmodel.py, exit status != 0: 1.057818335990305 1.066362244 0.49453611300000005 Calling exit ...