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.001399/0.001399, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00173/0.00173, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.789 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.1544/0.1544, allocations: 23.89 MB / 336.3 MB, free: 10.96 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) [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.002089/0.002089, allocations: 71.91 kB / 471.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4065, allocations: 59.85 MB / 0.5185 GB, free: 9.504 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.08061/0.4871, allocations: 28.72 MB / 0.5466 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.6695, allocations: 128.8 MB / 0.6724 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.6718, allocations: 23.88 kB / 0.6724 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003857/0.6757, allocations: 0.9944 MB / 0.6734 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.6794, allocations: 0.8727 MB / 0.6742 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.6838, allocations: 1.334 MB / 0.6755 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00512/0.6889, allocations: 2.283 MB / 0.6778 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.69, allocations: 427.5 kB / 0.6782 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.6914, allocations: 0.7862 MB / 0.6789 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.693, allocations: 0.8124 MB / 0.6797 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.6934, allocations: 216 kB / 0.6799 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.6968, allocations: 1.151 MB / 0.6811 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.6974, allocations: 0.6619 MB / 0.6817 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.6986, allocations: 0.913 MB / 0.6826 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006578/0.7052, allocations: 4.099 MB / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.7052, allocations: 3.984 kB / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7052, allocations: 0 / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.7052, allocations: 0 / 0.6866 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.004778/0.71, allocations: 2.678 MB / 0.6892 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.71, allocations: 8.031 kB / 0.6892 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000391/0.7104, allocations: 317.8 kB / 0.6895 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.7123, allocations: 0.5495 MB / 0.6901 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.7144, allocations: 1.166 MB / 0.6912 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.7149, allocations: 359.3 kB / 0.6915 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.7153, allocations: 196.3 kB / 0.6917 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.7264, allocations: 8.383 MB / 0.6999 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.7265, allocations: 4 kB / 0.6999 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.7266, allocations: 79.98 kB / 0.7 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004397/0.7271, allocations: 344.5 kB / 0.7003 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.7447, allocations: 13.92 MB / 0.7139 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.343/1.088, allocations: 19.87 MB / 0.7333 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00641/1.094, allocations: 3.83 MB / 0.7371 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/1.098, allocations: 2.677 MB / 0.7397 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/1.1, allocations: 0.5712 MB / 0.7402 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.1, allocations: 44.58 kB / 0.7403 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 4.128e-06/1.1, allocations: 0 / 0.7403 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03616/1.136, allocations: 15.13 MB / 0.7551 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004211/1.14, allocations: 3.238 MB / 0.7582 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/1.145, allocations: 3.202 MB / 0.7613 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/1.146, allocations: 45.67 kB / 0.7614 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/1.146, allocations: 1.045 MB / 0.7624 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/1.147, allocations: 360.2 kB / 0.7628 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008065/1.148, allocations: 383.3 kB / 0.7631 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/1.148, allocations: 343.9 kB / 0.7634 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/1.152, allocations: 3.304 MB / 0.7667 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/1.156, allocations: 3.522 MB / 0.7701 GB, free: 168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02167/1.177, allocations: 9.515 MB / 0.7794 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.177, allocations: 0 / 0.7794 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009224/1.187, allocations: 6.75 MB / 0.786 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.187, allocations: 11.94 kB / 0.786 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.187, allocations: 4.875 kB / 0.786 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/1.187, allocations: 460.5 kB / 0.7865 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008756/1.196, allocations: 1.076 MB / 0.7875 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/1.204, allocations: 8.381 MB / 0.7957 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/1.207, allocations: 55.95 kB / 0.7957 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006551/1.207, allocations: 279.9 kB / 0.796 GB, free: 141.3 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.001848/1.209, allocations: 0.6376 MB / 0.7966 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.21, allocations: 262.3 kB / 0.7969 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/1.218, allocations: 3.307 MB / 0.8001 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.218, allocations: 8 kB / 0.8001 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.218, allocations: 4 kB / 0.8001 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.218, allocations: 3.984 kB / 0.8001 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.228, allocations: 5.12 MB / 0.8051 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.228, allocations: 8 kB / 0.8051 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005729/1.234, allocations: 0.4903 MB / 0.8056 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/1.235, allocations: 223.6 kB / 0.8058 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.235, allocations: 27.98 kB / 0.8059 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/1.242, allocations: 6.401 MB / 0.8121 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002342/1.244, allocations: 1.851 MB / 0.8139 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/1.249, allocations: 2.317 MB / 0.8162 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.25, allocations: 362.2 kB / 0.8165 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/1.251, allocations: 34.47 kB / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.253, allocations: 45.28 kB / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/1.253, allocations: 108.3 kB / 0.8167 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/1.253, allocations: 27.98 kB / 0.8167 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004843/1.258, allocations: 4.016 MB / 0.8206 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.258, allocations: 0 / 0.8206 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002844/1.261, allocations: 0.6826 MB / 0.8213 GB, free: 114.6 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.005532/1.266, allocations: 3.147 MB / 0.8244 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007148/1.274, allocations: 4.043 MB / 0.8283 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.274, allocations: 3.938 kB / 0.8283 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003752/1.277, allocations: 1.115 MB / 0.8294 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/1.281, allocations: 0.654 MB / 0.8301 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/1.332, allocations: 43.26 MB / 0.8723 GB, free: 62.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.333, allocations: 1.099 MB / 0.8734 GB, free: 60.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001908/1.335, allocations: 0.5489 MB / 0.8739 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.337, allocations: 1.058 MB / 0.875 GB, free: 59.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.337, allocations: 3.938 kB / 0.875 GB, free: 59.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/1.743, allocations: 92.99 MB / 0.9658 GB, free: 189.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.31/19.05, allocations: 6.359 kB / 0.9658 GB, free: 189.9 MB / 0.5762 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.347047271672636] Failed to read output from testmodel.py, exit status != 0: 19.232471751980484 19.253941204 18.544546218 Calling exit ...