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.00125/0.00125, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001333/0.001333, allocations: 156.9 kB / 23 MB, free: 4.605 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 179] 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.1306/0.1306, allocations: 17.44 MB / 277.2 MB, free: 15.22 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.002913/0.002913, allocations: 67.89 kB / 412.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1249, allocations: 59.87 MB / 472.4 MB, free: 9.617 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1841:5-1841: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:1841:5-1841: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:1730:7-1730: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:1730:7-1730: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.2735/0.3984, allocations: 28.82 MB / 0.4895 GB, free: 38.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.147/0.5454, allocations: 129.1 MB / 0.6156 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.5467, allocations: 35.81 kB / 0.6156 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.5497, allocations: 0.9436 MB / 0.6165 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.5523, allocations: 0.9193 MB / 0.6174 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.5562, allocations: 1.4 MB / 0.6188 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003601/0.5598, allocations: 2.311 MB / 0.621 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006777/0.5605, allocations: 419.6 kB / 0.6214 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.5615, allocations: 0.8292 MB / 0.6223 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.5629, allocations: 0.984 MB / 0.6232 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.5631, allocations: 204 kB / 0.6234 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.566, allocations: 1.123 MB / 0.6245 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005597/0.5666, allocations: 0.6228 MB / 0.6251 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008876/0.5675, allocations: 0.8817 MB / 0.626 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005183/0.5726, allocations: 4.001 MB / 0.6299 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5727, allocations: 4 kB / 0.6299 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5727, allocations: 0 / 0.6299 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.805e-05/0.5727, allocations: 4 kB / 0.6299 GB, free: 2.148 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.003919/0.5766, allocations: 2.647 MB / 0.6325 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5766, allocations: 12.03 kB / 0.6325 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.5782, allocations: 0.5066 MB / 0.633 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5796, allocations: 0.9541 MB / 0.6339 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.5799, allocations: 271.3 kB / 0.6342 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.5801, allocations: 204.3 kB / 0.6344 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008376/0.5885, allocations: 7.233 MB / 0.6414 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.5885, allocations: 0 / 0.6414 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.5887, allocations: 79.98 kB / 0.6415 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.589, allocations: 324.6 kB / 0.6418 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.6029, allocations: 12.92 MB / 0.6544 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.6216, allocations: 12.17 MB / 0.6663 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.6246, allocations: 1.846 MB / 0.6681 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.6266, allocations: 1.218 MB / 0.6693 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/0.6391, allocations: 6.409 MB / 0.6756 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.6391, allocations: 43.22 kB / 0.6756 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/0.6391, allocations: 4 kB / 0.6756 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.02199/0.6611, allocations: 8.605 MB / 0.684 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.6612, allocations: 60.41 kB / 0.6841 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.6631, allocations: 1.172 MB / 0.6852 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.6633, allocations: 41.7 kB / 0.6853 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/0.6643, allocations: 1.195 MB / 0.6864 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.6647, allocations: 341.1 kB / 0.6868 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00074/0.6654, allocations: 370.7 kB / 0.6871 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6656, allocations: 353.9 kB / 0.6875 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002257/0.6678, allocations: 1.295 MB / 0.6887 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.6705, allocations: 1.736 MB / 0.6904 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/0.6756, allocations: 3.147 MB / 0.6935 GB, free: 128 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.6756, allocations: 4 kB / 0.6935 GB, free: 124 kB / 0.5762 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.2269/0.9025, allocations: 3.499 MB / 0.6969 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.9026, allocations: 9.875 kB / 0.6969 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.9026, allocations: 15.97 kB / 0.6969 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.903, allocations: 192.8 kB / 0.6971 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007605/0.9107, allocations: 0.8724 MB / 0.698 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.9147, allocations: 5.603 MB / 0.7034 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.9159, allocations: 64.59 kB / 0.7035 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.9162, allocations: 236.1 kB / 0.7037 GB, free: 178.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (150): * Single equations (assignments): 146 * 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.001012/0.9172, allocations: 0.6507 MB / 0.7044 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.9175, allocations: 144.4 kB / 0.7045 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.9223, allocations: 2.564 MB / 0.707 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9223, allocations: 9.844 kB / 0.707 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9223, allocations: 2.656 kB / 0.707 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.9223, allocations: 6.656 kB / 0.707 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/0.9275, allocations: 3.037 MB / 0.71 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.9275, allocations: 3.219 kB / 0.71 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006857/0.9343, allocations: 0.6005 MB / 0.7106 GB, free: 175.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.9347, allocations: 149.8 kB / 0.7107 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.9348, allocations: 28.45 kB / 0.7107 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.9386, allocations: 5.643 MB / 0.7163 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9386, allocations: 6.438 kB / 0.7163 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.9422, allocations: 1.691 MB / 0.7179 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.9425, allocations: 118.2 kB / 0.718 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.9427, allocations: 20.02 kB / 0.718 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.9435, allocations: 49.86 kB / 0.7181 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.9436, allocations: 74.78 kB / 0.7182 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.9437, allocations: 25.94 kB / 0.7182 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001753/0.9454, allocations: 1.848 MB / 0.72 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.9454, allocations: 0 / 0.72 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00177/0.9472, allocations: 0.5174 MB / 0.7205 GB, free: 168.3 MB / 0.5762 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.0005759/0.9478, allocations: 397.7 kB / 0.7209 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005772/0.9535, allocations: 2.263 MB / 0.7231 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.9535, allocations: 3.344 kB / 0.7231 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/0.9571, allocations: 0.9386 MB / 0.724 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.9587, allocations: 327.7 kB / 0.7243 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.9652, allocations: 3.915 MB / 0.7281 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.9665, allocations: 1.09 MB / 0.7292 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001633/0.9681, allocations: 496.2 kB / 0.7297 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.9688, allocations: 203.8 kB / 0.7299 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.9688, allocations: 0 / 0.7299 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05324/1.022, allocations: 37.1 MB / 0.7661 GB, free: 149.6 MB / 0.5762 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 ida -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.259614781010896] Failed to read output from testmodel.py, exit status != 0: 1.0319924709619954 1.040065051 0.46519808799999995 Calling exit ...