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.001221/0.001221, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001338/0.001338, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.801 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.13/0.13, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.001973/0.001973, allocations: 71.89 kB / 471.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2766, allocations: 59.86 MB / 0.519 GB, free: 9.738 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.06977/0.3464, allocations: 28.58 MB / 0.5469 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.159/0.5054, allocations: 128.8 MB / 0.6727 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.5072, allocations: 23.88 kB / 0.6728 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.5106, allocations: 0.9982 MB / 0.6737 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.5135, allocations: 0.8766 MB / 0.6746 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.5171, allocations: 1.33 MB / 0.6759 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003758/0.5208, allocations: 2.291 MB / 0.6781 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007388/0.5216, allocations: 423.5 kB / 0.6785 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.5227, allocations: 0.7901 MB / 0.6793 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.5241, allocations: 0.953 MB / 0.6802 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.5245, allocations: 212 kB / 0.6804 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.5271, allocations: 1.174 MB / 0.6816 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.5279, allocations: 0.658 MB / 0.6822 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.5293, allocations: 0.913 MB / 0.6831 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.5344, allocations: 4.099 MB / 0.6871 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5344, allocations: 4 kB / 0.6871 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5344, allocations: 0 / 0.6871 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.103e-05/0.5345, allocations: 3.938 kB / 0.6871 GB, free: 13.16 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.004588/0.5391, allocations: 2.674 MB / 0.6897 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5392, allocations: 16.03 kB / 0.6898 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.541, allocations: 0.5495 MB / 0.6903 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.5428, allocations: 1.154 MB / 0.6914 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/0.5432, allocations: 363.2 kB / 0.6918 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.5434, allocations: 204.3 kB / 0.692 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009106/0.5525, allocations: 8.383 MB / 0.7001 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.5526, allocations: 0 / 0.7001 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.5527, allocations: 83.92 kB / 0.7002 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003731/0.5531, allocations: 336.6 kB / 0.7005 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.5675, allocations: 13.93 MB / 0.7142 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2199/0.7874, allocations: 18.87 MB / 0.7326 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/0.7921, allocations: 3.824 MB / 0.7363 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.7953, allocations: 2.679 MB / 0.7389 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.7969, allocations: 0.572 MB / 0.7395 GB, free: 184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.7969, allocations: 46.58 kB / 0.7395 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.7969, allocations: 1.156 kB / 0.7395 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03288/0.8298, allocations: 15.01 MB / 0.7542 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004002/0.8338, allocations: 3.216 MB / 0.7573 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.8352, allocations: 1.277 MB / 0.7586 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.8354, allocations: 41.61 kB / 0.7586 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.8359, allocations: 1.102 MB / 0.7597 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.8362, allocations: 371.7 kB / 0.7601 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000869/0.8371, allocations: 386.5 kB / 0.7604 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.8372, allocations: 347.3 kB / 0.7608 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/0.8406, allocations: 3.297 MB / 0.764 GB, free: 172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.8441, allocations: 3.523 MB / 0.7674 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02209/0.8662, allocations: 9.518 MB / 0.7767 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8662, allocations: 0 / 0.7767 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008295/0.8745, allocations: 6.624 MB / 0.7832 GB, free: 155 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8745, allocations: 8 kB / 0.7832 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8745, allocations: 4 kB / 0.7832 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/0.8751, allocations: 451.6 kB / 0.7836 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009992/0.8851, allocations: 1.076 MB / 0.7847 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/0.8915, allocations: 8.318 MB / 0.7928 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.8928, allocations: 55.95 kB / 0.7928 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/0.8933, allocations: 284 kB / 0.7931 GB, free: 144.5 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.001236/0.8945, allocations: 0.6468 MB / 0.7937 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/0.895, allocations: 131.2 kB / 0.7939 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006635/0.9016, allocations: 3.161 MB / 0.797 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9017, allocations: 15.94 kB / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9017, allocations: 0 / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9017, allocations: 3.984 kB / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008691/0.9104, allocations: 5.729 MB / 0.8026 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9104, allocations: 4 kB / 0.8026 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006245/0.9166, allocations: 494.1 kB / 0.8031 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.9177, allocations: 222.6 kB / 0.8033 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.9178, allocations: 27.98 kB / 0.8033 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00549/0.9233, allocations: 6.316 MB / 0.8095 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002317/0.9256, allocations: 1.831 MB / 0.8112 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/0.93, allocations: 2.181 MB / 0.8134 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.9304, allocations: 143.1 kB / 0.8135 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.9307, allocations: 31.22 kB / 0.8135 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009035/0.9316, allocations: 42.66 kB / 0.8136 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.9318, allocations: 100.4 kB / 0.8137 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.9319, allocations: 35.98 kB / 0.8137 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002397/0.9343, allocations: 2.646 MB / 0.8163 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9343, allocations: 0 / 0.8163 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001923/0.9362, allocations: 0.6603 MB / 0.8169 GB, free: 119.4 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.0006221/0.9368, allocations: 398.3 kB / 0.8173 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006996/0.9438, allocations: 4.043 MB / 0.8213 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9438, allocations: 0 / 0.8213 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004102/0.9479, allocations: 1.099 MB / 0.8223 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.9496, allocations: 336.2 kB / 0.8227 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.9551, allocations: 4.152 MB / 0.8267 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009326/0.9561, allocations: 1.098 MB / 0.8278 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001074/0.9571, allocations: 402 kB / 0.8282 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/0.9579, allocations: 195.4 kB / 0.8284 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.9579, allocations: 0 / 0.8284 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05573/1.014, allocations: 57.72 MB / 0.8847 GB, free: 51.2 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: 6.507853344082832] Failed to read output from testmodel.py, exit status != 0: 1.0213999450206757 1.030236215 0.493635113 Calling exit ...