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.001356/0.001356, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00177/0.00177, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.1471/0.1471, allocations: 23.88 MB / 336.3 MB, free: 11.15 MB / 270.1 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: 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.002281/0.002281, allocations: 67.89 kB / 471.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3726, allocations: 59.88 MB / 0.5186 GB, free: 9.594 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1816:5-1816: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:1816:5-1816: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:1697:7-1697: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:1697:7-1697: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.04231/0.4149, allocations: 29.84 MB / 0.5478 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1952/0.6101, allocations: 150.5 MB / 0.6948 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.6126, allocations: 35.81 kB / 0.6948 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.6165, allocations: 1.018 MB / 0.6958 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.6203, allocations: 0.9115 MB / 0.6967 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.6247, allocations: 1.396 MB / 0.6981 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004589/0.6293, allocations: 2.276 MB / 0.7003 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.6303, allocations: 427.5 kB / 0.7007 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.6319, allocations: 0.8253 MB / 0.7015 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.6343, allocations: 1.089 MB / 0.7026 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006753/0.635, allocations: 208 kB / 0.7028 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004814/0.6398, allocations: 1.658 MB / 0.7044 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.6405, allocations: 0.6073 MB / 0.705 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.6419, allocations: 1.189 MB / 0.7061 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006574/0.6485, allocations: 4.099 MB / 0.7102 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6485, allocations: 0 / 0.7102 GB, free: 5.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6485, allocations: 0 / 0.7102 GB, free: 5.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.407e-05/0.6485, allocations: 0 / 0.7102 GB, free: 5.352 MB / 0.545 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.004444/0.653, allocations: 2.627 MB / 0.7127 GB, free: 2.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.653, allocations: 15.97 kB / 0.7127 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003614/0.6534, allocations: 321.8 kB / 0.713 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.6543, allocations: 422.9 kB / 0.7134 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.6558, allocations: 0.9462 MB / 0.7144 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.656, allocations: 271.3 kB / 0.7146 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.6563, allocations: 196.3 kB / 0.7148 GB, free: 468 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008181/0.6645, allocations: 6.946 MB / 0.7216 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.6645, allocations: 4 kB / 0.7216 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.6647, allocations: 79.98 kB / 0.7217 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/0.665, allocations: 328.6 kB / 0.722 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2617/0.9268, allocations: 12.17 MB / 0.7339 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.9474, allocations: 13.12 MB / 0.7467 GB, free: 183 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.95, allocations: 1.771 MB / 0.7484 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.9516, allocations: 1.129 MB / 0.7495 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.9637, allocations: 6.905 MB / 0.7563 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.9637, allocations: 38.62 kB / 0.7563 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.614e-06/0.9637, allocations: 5.125 kB / 0.7563 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.01817/0.9819, allocations: 8.279 MB / 0.7644 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.9819, allocations: 65.47 kB / 0.7644 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.9844, allocations: 2.29 MB / 0.7667 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.9846, allocations: 39.7 kB / 0.7667 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.9851, allocations: 1.127 MB / 0.7678 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.9854, allocations: 351.5 kB / 0.7682 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.9859, allocations: 353.9 kB / 0.7685 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.986, allocations: 351.9 kB / 0.7688 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.9873, allocations: 1.213 MB / 0.77 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.9888, allocations: 1.639 MB / 0.7716 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/0.9917, allocations: 2.958 MB / 0.7745 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9917, allocations: 4 kB / 0.7745 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004784/0.9965, allocations: 3.406 MB / 0.7778 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9965, allocations: 12 kB / 0.7778 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9965, allocations: 12 kB / 0.7779 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.9969, allocations: 202.4 kB / 0.778 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007275/1.004, allocations: 0.7441 MB / 0.7788 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/1.008, allocations: 5.741 MB / 0.7844 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.01, allocations: 47.98 kB / 0.7844 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/1.01, allocations: 223.9 kB / 0.7846 GB, free: 154 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (145): * Single equations (assignments): 141 * 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.001084/1.011, allocations: 0.6384 MB / 0.7853 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.012, allocations: 225.2 kB / 0.7855 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/1.016, allocations: 2.521 MB / 0.7879 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.016, allocations: 14.61 kB / 0.788 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.016, allocations: 7.922 kB / 0.788 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.016, allocations: 0 / 0.788 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/1.021, allocations: 3.756 MB / 0.7916 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.021, allocations: 0 / 0.7916 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006042/1.027, allocations: 494.1 kB / 0.7921 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003755/1.028, allocations: 169.1 kB / 0.7923 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/1.028, allocations: 22.67 kB / 0.7923 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003787/1.032, allocations: 5.772 MB / 0.7979 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.032, allocations: 7.938 kB / 0.7979 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/1.035, allocations: 1.65 MB / 0.7995 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/1.035, allocations: 258.4 kB / 0.7998 GB, free: 138 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/1.035, allocations: 27.92 kB / 0.7998 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/1.036, allocations: 19.94 kB / 0.7998 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.036, allocations: 71.12 kB / 0.7999 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.036, allocations: 31.98 kB / 0.7999 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002481/1.039, allocations: 2.599 MB / 0.8025 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.039, allocations: 0 / 0.8025 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001714/1.04, allocations: 0.5309 MB / 0.803 GB, free: 134.7 MB / 0.5606 GB 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.003633/1.044, allocations: 2.499 MB / 0.8054 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005293/1.049, allocations: 2.132 MB / 0.8075 GB, free: 130 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.049, allocations: 0 / 0.8075 GB, free: 130 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/1.053, allocations: 0.9093 MB / 0.8084 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.055, allocations: 0.5379 MB / 0.8089 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/1.084, allocations: 22.86 MB / 0.8312 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009547/1.085, allocations: 1.659 MB / 0.8329 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001678/1.086, allocations: 0.5772 MB / 0.8334 GB, free: 103 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.088, allocations: 1.008 MB / 0.8344 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.088, allocations: 0 / 0.8344 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09935/1.187, allocations: 62.85 MB / 0.8958 GB, free: 39.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/22.9, allocations: 6.875 kB / 0.8958 GB, free: 39.87 MB / 0.5606 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 25.834051359910518] Failed to read output from testmodel.py, exit status != 0: 23.055182565003633 23.073263704 22.421186269 Calling exit ...