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.001305/0.001305, 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.001516/0.001516, allocations: 216.5 kB / 22.25 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.793 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.1498/0.1498, allocations: 23.88 MB / 336.3 MB, free: 10.97 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.00213/0.00213, allocations: 63.91 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.433, allocations: 59.87 MB / 0.5185 GB, free: 9.191 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.08137/0.5144, allocations: 28.71 MB / 0.5466 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.7085, allocations: 128.8 MB / 0.6724 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/0.7118, allocations: 27.81 kB / 0.6724 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/0.716, allocations: 0.9941 MB / 0.6734 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.7203, allocations: 0.8688 MB / 0.6742 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.7248, allocations: 1.334 MB / 0.6755 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004788/0.7296, allocations: 2.29 MB / 0.6778 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.7304, allocations: 419.5 kB / 0.6782 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.7318, allocations: 0.7862 MB / 0.6789 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.733, allocations: 0.8163 MB / 0.6797 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.7333, allocations: 219.9 kB / 0.6799 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.7377, allocations: 1.147 MB / 0.6811 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007754/0.7384, allocations: 0.658 MB / 0.6817 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.7397, allocations: 0.9169 MB / 0.6826 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.7481, allocations: 4.095 MB / 0.6866 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7481, allocations: 0 / 0.6866 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7481, allocations: 0 / 0.6866 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.765e-05/0.7481, allocations: 0 / 0.6866 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.005295/0.7534, allocations: 2.68 MB / 0.6892 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.7535, allocations: 12.03 kB / 0.6892 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003881/0.7539, allocations: 321.8 kB / 0.6895 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.7558, allocations: 0.5495 MB / 0.6901 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.7579, allocations: 1.162 MB / 0.6912 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.7583, allocations: 367.2 kB / 0.6915 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.7586, allocations: 192.3 kB / 0.6917 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.7692, allocations: 8.383 MB / 0.6999 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.7693, allocations: 3.938 kB / 0.6999 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.7694, allocations: 83.98 kB / 0.7 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004053/0.7698, allocations: 344.6 kB / 0.7003 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.7871, allocations: 13.92 MB / 0.7139 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3356/1.123, allocations: 19.88 MB / 0.7333 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005839/1.129, allocations: 3.832 MB / 0.7371 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/1.133, allocations: 2.668 MB / 0.7397 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/1.134, allocations: 0.5813 MB / 0.7402 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.134, allocations: 38.88 kB / 0.7403 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.496e-06/1.134, allocations: 1.312 kB / 0.7403 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03423/1.168, allocations: 15.14 MB / 0.7551 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004195/1.173, allocations: 3.24 MB / 0.7582 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/1.177, allocations: 3.202 MB / 0.7614 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004652/1.178, allocations: 41.64 kB / 0.7614 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/1.178, allocations: 1.043 MB / 0.7624 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/1.179, allocations: 359.6 kB / 0.7628 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/1.18, allocations: 381.9 kB / 0.7631 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/1.18, allocations: 350.3 kB / 0.7635 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/1.183, allocations: 3.301 MB / 0.7667 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/1.187, allocations: 3.52 MB / 0.7701 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02116/1.208, allocations: 9.522 MB / 0.7794 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.208, allocations: 0 / 0.7794 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008873/1.217, allocations: 6.753 MB / 0.786 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.217, allocations: 8 kB / 0.786 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.217, allocations: 4 kB / 0.786 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/1.218, allocations: 458.3 kB / 0.7865 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008907/1.227, allocations: 1.076 MB / 0.7875 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/1.233, allocations: 8.373 MB / 0.7957 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.235, allocations: 62.61 kB / 0.7957 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/1.236, allocations: 279.9 kB / 0.796 GB, free: 141 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.001346/1.237, allocations: 0.6294 MB / 0.7966 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006769/1.238, allocations: 266.2 kB / 0.7969 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006808/1.245, allocations: 3.301 MB / 0.8001 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.245, allocations: 8 kB / 0.8001 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.245, allocations: 4 kB / 0.8001 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.245, allocations: 3.984 kB / 0.8001 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008989/1.254, allocations: 5.119 MB / 0.8051 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.254, allocations: 11.94 kB / 0.8051 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005559/1.259, allocations: 0.4904 MB / 0.8056 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.26, allocations: 225 kB / 0.8058 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/1.26, allocations: 27.98 kB / 0.8059 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00539/1.266, allocations: 6.406 MB / 0.8121 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002157/1.268, allocations: 1.847 MB / 0.8139 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/1.273, allocations: 2.317 MB / 0.8162 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.274, allocations: 366.2 kB / 0.8165 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/1.274, allocations: 30.36 kB / 0.8166 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/1.275, allocations: 45.03 kB / 0.8166 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/1.275, allocations: 104.4 kB / 0.8167 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/1.276, allocations: 35.98 kB / 0.8167 GB, free: 119 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004269/1.28, allocations: 4.012 MB / 0.8206 GB, free: 115 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.28, allocations: 0 / 0.8206 GB, free: 115 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002269/1.282, allocations: 0.6806 MB / 0.8213 GB, free: 114.3 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.004933/1.287, allocations: 3.148 MB / 0.8244 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006666/1.294, allocations: 4.044 MB / 0.8283 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.294, allocations: 0 / 0.8283 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00366/1.297, allocations: 1.117 MB / 0.8294 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.3, allocations: 0.6467 MB / 0.8301 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04976/1.35, allocations: 43.26 MB / 0.8723 GB, free: 61.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.351, allocations: 1.1 MB / 0.8734 GB, free: 60.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001737/1.353, allocations: 0.5554 MB / 0.8739 GB, free: 60.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.355, allocations: 1.054 MB / 0.875 GB, free: 59.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.333e-06/1.355, allocations: 0 / 0.875 GB, free: 59.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3887/1.743, allocations: 93 MB / 0.9658 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/19.15, allocations: 10.05 kB / 0.9658 GB, free: 189.8 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 & 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: 23.729514724109322] Failed to read output from testmodel.py, exit status != 0: 19.323122845962644 19.335008554 18.584418258 Calling exit ...