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.0006977/0.0006977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007838/0.0007838, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8638/0.8638, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 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.07993/0.07993, allocations: 17.45 MB / 276.6 MB, free: 11.74 MB / 266.7 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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 1.062 kB / 411.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.596e-05, allocations: 6.219 kB / 411.6 MB, free: 12.43 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1842:5-1842: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:1842:5-1842: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:1731:7-1731: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:1731:7-1731: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.02527/0.02529, allocations: 29.39 MB / 441 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1101/0.1354, allocations: 130.8 MB / 0.5584 GB, free: 9.312 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.137, allocations: 59.5 kB / 0.5584 GB, free: 9.254 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.1394, allocations: 1.064 MB / 0.5595 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.1418, allocations: 1.179 MB / 0.5606 GB, free: 6.996 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.1447, allocations: 1.64 MB / 0.5622 GB, free: 5.348 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002725/0.1474, allocations: 2.566 MB / 0.5647 GB, free: 2.773 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.1479, allocations: 419.5 kB / 0.5651 GB, free: 2.32 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1491, allocations: 1.329 MB / 0.5664 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008956/0.15, allocations: 0.9468 MB / 0.5673 GB, free: 40 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.1502, allocations: 204 kB / 0.5675 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.1526, allocations: 1.38 MB / 0.5689 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.153, allocations: 0.693 MB / 0.5696 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.1536, allocations: 0.7519 MB / 0.5703 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.1573, allocations: 4.183 MB / 0.5744 GB, free: 8.812 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1573, allocations: 3.938 kB / 0.5744 GB, free: 8.809 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1573, allocations: 4 kB / 0.5744 GB, free: 8.805 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.1573, allocations: 0 / 0.5744 GB, free: 8.805 MB / 490.7 MB 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.002715/0.1601, allocations: 2.708 MB / 0.577 GB, free: 6.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1601, allocations: 8.031 kB / 0.577 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.1604, allocations: 334 kB / 0.5774 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.1612, allocations: 0.5417 MB / 0.5779 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.1626, allocations: 1.314 MB / 0.5792 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.1628, allocations: 271.3 kB / 0.5794 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.1629, allocations: 192.4 kB / 0.5796 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1582/0.3211, allocations: 7.225 MB / 0.5867 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.3211, allocations: 6.75 kB / 0.5867 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.3212, allocations: 82.78 kB / 0.5868 GB, free: 161.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.3215, allocations: 324.3 kB / 0.5871 GB, free: 161.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009329/0.3308, allocations: 12.91 MB / 0.5997 GB, free: 156.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.3433, allocations: 13 MB / 0.6124 GB, free: 148.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.345, allocations: 1.862 MB / 0.6142 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3461, allocations: 1.212 MB / 0.6154 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006412/0.3525, allocations: 6.604 MB / 0.6218 GB, free: 138.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3525, allocations: 43.2 kB / 0.6219 GB, free: 138.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.3525, allocations: 0 / 0.6219 GB, free: 138.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01173/0.3642, allocations: 8.693 MB / 0.6304 GB, free: 129.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.3642, allocations: 60.41 kB / 0.6304 GB, free: 129.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.366, allocations: 2.33 MB / 0.6327 GB, free: 127.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.3661, allocations: 40.36 kB / 0.6327 GB, free: 127.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.3665, allocations: 1.159 MB / 0.6339 GB, free: 126.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.3667, allocations: 336.9 kB / 0.6342 GB, free: 126 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.3671, allocations: 366.7 kB / 0.6345 GB, free: 125.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.3671, allocations: 353.9 kB / 0.6349 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.3683, allocations: 1.294 MB / 0.6361 GB, free: 124 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3696, allocations: 1.747 MB / 0.6378 GB, free: 122.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.3722, allocations: 3.132 MB / 0.6409 GB, free: 118.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3722, allocations: 7.938 kB / 0.6409 GB, free: 118.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00367/0.3759, allocations: 3.613 MB / 0.6444 GB, free: 115.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3759, allocations: 8 kB / 0.6444 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3759, allocations: 16 kB / 0.6445 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.3762, allocations: 186.5 kB / 0.6446 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.3798, allocations: 0.8709 MB / 0.6455 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.3823, allocations: 5.677 MB / 0.651 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009223/0.3832, allocations: 70.62 kB / 0.6511 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.3834, allocations: 234.5 kB / 0.6513 GB, free: 107.7 MB / 490.7 MB 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.0009055/0.3843, allocations: 0.6553 MB / 0.652 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.3846, allocations: 246.5 kB / 0.6522 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.3877, allocations: 2.636 MB / 0.6548 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3877, allocations: 8 kB / 0.6548 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3877, allocations: 4 kB / 0.6548 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3877, allocations: 3.984 kB / 0.6548 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.3914, allocations: 3.375 MB / 0.6581 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3914, allocations: 4 kB / 0.6581 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/0.3945, allocations: 0.5955 MB / 0.6587 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.3948, allocations: 164 kB / 0.6588 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.3948, allocations: 27.97 kB / 0.6588 GB, free: 99.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.3971, allocations: 5.707 MB / 0.6644 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3971, allocations: 7.969 kB / 0.6644 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.3999, allocations: 1.803 MB / 0.6662 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.4002, allocations: 254.5 kB / 0.6664 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.4004, allocations: 24 kB / 0.6665 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.4009, allocations: 42.59 kB / 0.6665 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.401, allocations: 76.41 kB / 0.6666 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.401, allocations: 23.98 kB / 0.6666 GB, free: 91.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001785/0.4028, allocations: 2.68 MB / 0.6692 GB, free: 88.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4028, allocations: 2.625 kB / 0.6692 GB, free: 88.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001193/0.404, allocations: 0.5699 MB / 0.6698 GB, free: 88.29 MB / 490.7 MB 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.002473/0.4065, allocations: 2.648 MB / 0.6724 GB, free: 85.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.4095, allocations: 2.266 MB / 0.6746 GB, free: 83.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4095, allocations: 4 kB / 0.6746 GB, free: 83.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.4111, allocations: 0.9355 MB / 0.6755 GB, free: 82.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.4127, allocations: 0.5446 MB / 0.676 GB, free: 81.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/0.4352, allocations: 23.91 MB / 0.6994 GB, free: 57.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.4358, allocations: 1.092 MB / 0.7004 GB, free: 56.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001251/0.4371, allocations: 0.6317 MB / 0.701 GB, free: 55.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008696/0.438, allocations: 1.073 MB / 0.7021 GB, free: 54.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/0.438, allocations: 3.938 kB / 0.7021 GB, free: 54.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/0.5092, allocations: 68.63 MB / 0.7691 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.097/9.606, allocations: 15.31 kB / 0.7691 GB, free: 3.062 MB / 0.4948 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.685605097562075] Failed to read output from testmodel.py, exit status != 0: 9.856437171809375 9.875034497 9.715834746 Calling exit ...