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.001236/0.001236, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001552/0.001552, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.816 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.1386/0.1386, allocations: 23.89 MB / 336.3 MB, free: 11 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.001928/0.001928, allocations: 71.89 kB / 471.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 59.85 MB / 0.5185 GB, free: 9.578 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.07578/0.4212, allocations: 28.65 MB / 0.5465 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1801/0.6013, allocations: 128.8 MB / 0.6723 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.6039, allocations: 23.94 kB / 0.6723 GB, free: 12 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.6077, allocations: 0.9943 MB / 0.6733 GB, free: 11 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.6114, allocations: 0.8688 MB / 0.6742 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.6157, allocations: 1.338 MB / 0.6755 GB, free: 8.777 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.004455/0.6201, allocations: 2.283 MB / 0.6777 GB, free: 6.484 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.6209, allocations: 423.5 kB / 0.6781 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.6221, allocations: 0.7862 MB / 0.6789 GB, free: 5.238 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.6232, allocations: 0.9492 MB / 0.6798 GB, free: 4.285 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.6235, allocations: 216 kB / 0.68 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.6266, allocations: 1.182 MB / 0.6811 GB, free: 2.891 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.6272, allocations: 0.6619 MB / 0.6818 GB, free: 2.227 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.6283, allocations: 0.9129 MB / 0.6827 GB, free: 1.309 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.007171/0.6354, allocations: 4.099 MB / 0.6867 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6354, allocations: 8 kB / 0.6867 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6354, allocations: 3.938 kB / 0.6867 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.503e-05/0.6355, allocations: 0 / 0.6867 GB, free: 13.18 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.004501/0.64, allocations: 2.67 MB / 0.6893 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.64, allocations: 12.03 kB / 0.6893 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003529/0.6404, allocations: 321.8 kB / 0.6896 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.6422, allocations: 0.5495 MB / 0.6902 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.6441, allocations: 1.158 MB / 0.6913 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.6445, allocations: 367.2 kB / 0.6916 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.6447, allocations: 196.3 kB / 0.6918 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009641/0.6544, allocations: 8.383 MB / 0.7 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.6544, allocations: 4 kB / 0.7 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.6546, allocations: 75.98 kB / 0.7001 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000373/0.655, allocations: 340.6 kB / 0.7004 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.6702, allocations: 13.93 MB / 0.714 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2659/0.9361, allocations: 19.86 MB / 0.7334 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005128/0.9412, allocations: 3.827 MB / 0.7372 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/0.9447, allocations: 2.672 MB / 0.7398 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.9461, allocations: 0.5798 MB / 0.7403 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.9462, allocations: 42.59 kB / 0.7404 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.986e-06/0.9462, allocations: 0 / 0.7404 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03122/0.9774, allocations: 15.14 MB / 0.7552 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003937/0.9813, allocations: 3.235 MB / 0.7583 GB, free: 175 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.9862, allocations: 3.208 MB / 0.7614 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003834/0.9865, allocations: 44.23 kB / 0.7615 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007309/0.9873, allocations: 1.034 MB / 0.7625 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.9878, allocations: 369.1 kB / 0.7629 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009804/0.9888, allocations: 379.6 kB / 0.7632 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.9889, allocations: 350.6 kB / 0.7635 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.9923, allocations: 3.302 MB / 0.7668 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/0.9957, allocations: 3.515 MB / 0.7702 GB, free: 168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/1.016, allocations: 9.52 MB / 0.7795 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.016, allocations: 4 kB / 0.7795 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008767/1.025, allocations: 6.745 MB / 0.7861 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.025, allocations: 14.75 kB / 0.7861 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.025, allocations: 8 kB / 0.7861 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006573/1.026, allocations: 451.2 kB / 0.7865 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008449/1.034, allocations: 1.079 MB / 0.7876 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00651/1.041, allocations: 8.375 MB / 0.7958 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.042, allocations: 58.58 kB / 0.7958 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/1.043, allocations: 287.9 kB / 0.7961 GB, free: 141.2 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.001427/1.044, allocations: 0.631 MB / 0.7967 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/1.045, allocations: 266.2 kB / 0.797 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006691/1.052, allocations: 3.291 MB / 0.8002 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.052, allocations: 10.66 kB / 0.8002 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/1.052, allocations: 4 kB / 0.8002 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.052, allocations: 6.797 kB / 0.8002 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008861/1.061, allocations: 5.121 MB / 0.8052 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.061, allocations: 4 kB / 0.8052 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005427/1.066, allocations: 0.4901 MB / 0.8057 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009869/1.067, allocations: 223.4 kB / 0.8059 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.067, allocations: 30.66 kB / 0.8059 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/1.073, allocations: 6.399 MB / 0.8122 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002103/1.075, allocations: 1.854 MB / 0.814 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/1.079, allocations: 2.308 MB / 0.8163 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/1.08, allocations: 370.1 kB / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/1.081, allocations: 34.48 kB / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.082, allocations: 43.97 kB / 0.8167 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.082, allocations: 107 kB / 0.8168 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/1.083, allocations: 27.98 kB / 0.8168 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004599/1.087, allocations: 4.013 MB / 0.8207 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.087, allocations: 0 / 0.8207 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002334/1.089, allocations: 0.6841 MB / 0.8214 GB, free: 114.5 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.005246/1.095, allocations: 3.148 MB / 0.8245 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006523/1.101, allocations: 4.045 MB / 0.8284 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.101, allocations: 7.656 kB / 0.8284 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/1.105, allocations: 1.103 MB / 0.8295 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.108, allocations: 0.6595 MB / 0.8302 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05167/1.16, allocations: 43.26 MB / 0.8724 GB, free: 61.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.161, allocations: 1.092 MB / 0.8735 GB, free: 60.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00169/1.163, allocations: 0.5503 MB / 0.874 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.164, allocations: 1.058 MB / 0.875 GB, free: 59.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.164, allocations: 0 / 0.875 GB, free: 59.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4003/1.565, allocations: 93.27 MB / 0.9661 GB, free: 190.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.91, allocations: 1.094 kB / 0.9661 GB, free: 190.3 MB / 0.5763 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.GasSolubility_NIST_2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.160217647993704] Failed to read output from testmodel.py, exit status != 0: 18.074857393978164 18.092606744 17.453746478 Calling exit ...