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.0007501/0.0007501, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009039/0.0009039, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9356/0.9356, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.1004/0.1004, allocations: 17.38 MB / 276.6 MB, free: 11.72 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 411.4 MB, free: 452 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.101e-05, allocations: 9.453 kB / 411.5 MB, free: 444 kB / 378.7 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.02658/0.0266, allocations: 28.97 MB / 440.4 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3169/0.3435, allocations: 128.9 MB / 0.5559 GB, free: 5.836 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.3448, allocations: 23.88 kB / 0.556 GB, free: 5.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.3471, allocations: 1.003 MB / 0.557 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.349, allocations: 0.9111 MB / 0.5578 GB, free: 3.891 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.3519, allocations: 1.353 MB / 0.5592 GB, free: 2.535 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.3542, allocations: 2.353 MB / 0.5615 GB, free: 176 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.3547, allocations: 426.7 kB / 0.5619 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008748/0.3556, allocations: 1.193 MB / 0.563 GB, free: 14.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.3562, allocations: 0.6895 MB / 0.5637 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3563, allocations: 216 kB / 0.5639 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.3584, allocations: 1.154 MB / 0.565 GB, free: 12.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.3588, allocations: 0.6735 MB / 0.5657 GB, free: 11.79 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.3593, allocations: 0.7246 MB / 0.5664 GB, free: 11.06 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.3625, allocations: 4.117 MB / 0.5704 GB, free: 6.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3625, allocations: 0 / 0.5704 GB, free: 6.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3625, allocations: 0 / 0.5704 GB, free: 6.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3625, allocations: 0 / 0.5704 GB, free: 6.93 MB / 458.7 MB 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.002549/0.3651, allocations: 2.651 MB / 0.573 GB, free: 4.238 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3651, allocations: 12.03 kB / 0.573 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.3654, allocations: 318.5 kB / 0.5733 GB, free: 3.906 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.3664, allocations: 0.5449 MB / 0.5739 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3676, allocations: 1.16 MB / 0.575 GB, free: 2.164 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.3678, allocations: 371.2 kB / 0.5753 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.368, allocations: 188.4 kB / 0.5755 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00595/0.3739, allocations: 8.376 MB / 0.5837 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.3739, allocations: 3.5 kB / 0.5837 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.374, allocations: 87.92 kB / 0.5838 GB, free: 9.074 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.3743, allocations: 348.5 kB / 0.5841 GB, free: 8.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009309/0.3836, allocations: 13.92 MB / 0.5977 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.4017, allocations: 19.87 MB / 0.6171 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.4056, allocations: 3.831 MB / 0.6209 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.4082, allocations: 2.669 MB / 0.6235 GB, free: 324 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1821/0.5902, allocations: 0.5755 MB / 0.624 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5903, allocations: 37.81 kB / 0.6241 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.5903, allocations: 0 / 0.6241 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.01877/0.609, allocations: 15.15 MB / 0.6389 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002342/0.6114, allocations: 3.232 MB / 0.642 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.6138, allocations: 3.2 MB / 0.6451 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.6139, allocations: 40.89 kB / 0.6452 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.6144, allocations: 1.044 MB / 0.6462 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.6146, allocations: 361.8 kB / 0.6466 GB, free: 148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.6151, allocations: 373.7 kB / 0.6469 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.6151, allocations: 348.8 kB / 0.6472 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.6176, allocations: 3.304 MB / 0.6505 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.6201, allocations: 3.514 MB / 0.6539 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/0.6335, allocations: 9.528 MB / 0.6632 GB, free: 141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.6335, allocations: 2.219 kB / 0.6632 GB, free: 141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006794/0.6403, allocations: 6.75 MB / 0.6698 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6403, allocations: 7.5 kB / 0.6698 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6403, allocations: 5.656 kB / 0.6698 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.6409, allocations: 455.9 kB / 0.6702 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/0.6452, allocations: 1.075 MB / 0.6713 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/0.65, allocations: 8.371 MB / 0.6795 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.651, allocations: 60.03 kB / 0.6795 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/0.6513, allocations: 284.1 kB / 0.6798 GB, free: 131.7 MB / 0.4948 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.000944/0.6523, allocations: 0.63 MB / 0.6804 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.6526, allocations: 267.7 kB / 0.6807 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004152/0.6567, allocations: 3.306 MB / 0.6839 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6567, allocations: 8.797 kB / 0.6839 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.6567, allocations: 0 / 0.6839 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6568, allocations: 6.5 kB / 0.6839 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.6618, allocations: 5.12 MB / 0.6889 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6618, allocations: 4 kB / 0.6889 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/0.6645, allocations: 498.4 kB / 0.6894 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/0.665, allocations: 226 kB / 0.6896 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.6651, allocations: 40.45 kB / 0.6896 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.6687, allocations: 6.388 MB / 0.6959 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001433/0.6702, allocations: 1.85 MB / 0.6977 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.6732, allocations: 2.308 MB / 0.6999 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.6738, allocations: 367.5 kB / 0.7003 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.674, allocations: 27.84 kB / 0.7003 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.6745, allocations: 48.34 kB / 0.7004 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.6747, allocations: 106.9 kB / 0.7005 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.6747, allocations: 38.47 kB / 0.7005 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002889/0.6776, allocations: 4.007 MB / 0.7044 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.6776, allocations: 0 / 0.7044 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001407/0.679, allocations: 0.683 MB / 0.7051 GB, free: 109.1 MB / 0.4948 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.002958/0.682, allocations: 3.147 MB / 0.7082 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.686, allocations: 4.042 MB / 0.7121 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.686, allocations: 4 kB / 0.7121 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.6879, allocations: 1.108 MB / 0.7132 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6895, allocations: 0.6674 MB / 0.7138 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/0.7258, allocations: 42.62 MB / 0.7555 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.7269, allocations: 1.103 MB / 0.7565 GB, free: 56.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001285/0.7281, allocations: 0.5528 MB / 0.7571 GB, free: 56.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009742/0.7291, allocations: 1.055 MB / 0.7581 GB, free: 55.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/0.7291, allocations: 5.688 kB / 0.7581 GB, free: 55.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/0.9893, allocations: 92.32 MB / 0.8483 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.64, allocations: 8.531 kB / 0.8483 GB, free: 145.2 MB / 0.4948 GB " [Timeout remaining time 648] (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: 13.695390397682786] Failed to read output from testmodel.py, exit status != 0: 11.76531291846186 11.771841109 11.407915569 Calling exit ...