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.001042/0.001042, 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.0007874/0.0007874, 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.845/0.845, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.08375/0.08375, allocations: 17.45 MB / 276.6 MB, free: 11.75 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 1.202e-06/1.202e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.298e-06/1.05e-05, allocations: 2.281 kB / 411.6 MB, free: 252 kB / 378.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.02586/0.02587, allocations: 29.38 MB / 441 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2575/0.2834, allocations: 130.8 MB / 0.5584 GB, free: 3.328 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.2847, allocations: 55.56 kB / 0.5584 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.2871, allocations: 1.068 MB / 0.5595 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.2896, allocations: 1.175 MB / 0.5606 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.2926, allocations: 1.632 MB / 0.5622 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.2955, allocations: 2.575 MB / 0.5647 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.2961, allocations: 426.7 kB / 0.5651 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.2977, allocations: 1.337 MB / 0.5664 GB, free: 11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009882/0.2987, allocations: 0.939 MB / 0.5674 GB, free: 10.06 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2988, allocations: 204 kB / 0.5675 GB, free: 9.863 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.3012, allocations: 1.38 MB / 0.5689 GB, free: 8.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.3016, allocations: 0.6969 MB / 0.5696 GB, free: 7.781 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.3022, allocations: 0.748 MB / 0.5703 GB, free: 7.031 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004187/0.3064, allocations: 4.187 MB / 0.5744 GB, free: 2.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3064, allocations: 4 kB / 0.5744 GB, free: 2.828 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3064, allocations: 0 / 0.5744 GB, free: 2.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.3064, allocations: 3.984 kB / 0.5744 GB, free: 2.824 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: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.003096/0.3095, allocations: 2.706 MB / 0.577 GB, free: 76 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3096, allocations: 8.031 kB / 0.5771 GB, free: 68 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.3098, allocations: 326 kB / 0.5774 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/0.3108, allocations: 0.5368 MB / 0.5779 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3123, allocations: 1.314 MB / 0.5792 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3125, allocations: 283.3 kB / 0.5794 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.3126, allocations: 192.4 kB / 0.5796 GB, free: 13.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/0.3179, allocations: 7.214 MB / 0.5867 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.3179, allocations: 384 / 0.5867 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.318, allocations: 87.92 kB / 0.5868 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/0.3182, allocations: 332.6 kB / 0.5871 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008407/0.3266, allocations: 12.91 MB / 0.5997 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.3397, allocations: 13 MB / 0.6124 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.3417, allocations: 1.859 MB / 0.6142 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.343, allocations: 1.21 MB / 0.6154 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007459/0.3504, allocations: 6.613 MB / 0.6218 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3504, allocations: 43.22 kB / 0.6219 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/0.3505, allocations: 0 / 0.6219 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.1607/0.5111, allocations: 8.696 MB / 0.6304 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.5112, allocations: 58.94 kB / 0.6304 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.5131, allocations: 2.335 MB / 0.6327 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-05/0.5132, allocations: 40.95 kB / 0.6327 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.5136, allocations: 1.153 MB / 0.6339 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.5138, allocations: 341.8 kB / 0.6342 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.5142, allocations: 363.7 kB / 0.6345 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.5143, allocations: 351.6 kB / 0.6349 GB, free: 153 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.5154, allocations: 1.298 MB / 0.6361 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.5167, allocations: 1.743 MB / 0.6378 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.5191, allocations: 3.13 MB / 0.6409 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5191, allocations: 6.625 kB / 0.6409 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0036/0.5227, allocations: 3.611 MB / 0.6444 GB, free: 148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5227, allocations: 9.594 kB / 0.6444 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5227, allocations: 16.16 kB / 0.6445 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.523, allocations: 187.3 kB / 0.6446 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/0.5266, allocations: 0.8748 MB / 0.6455 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.5292, allocations: 5.688 MB / 0.651 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5303, allocations: 69.19 kB / 0.6511 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.5305, allocations: 229.2 kB / 0.6513 GB, free: 142.4 MB / 0.4948 GB 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.00102/0.5315, allocations: 0.6476 MB / 0.652 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.5319, allocations: 249.2 kB / 0.6522 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5352, allocations: 2.641 MB / 0.6548 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5352, allocations: 10.22 kB / 0.6548 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5352, allocations: 5.812 kB / 0.6548 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5352, allocations: 3.375 kB / 0.6548 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.5392, allocations: 3.36 MB / 0.6581 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5392, allocations: 4.984 kB / 0.6581 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00315/0.5423, allocations: 0.5967 MB / 0.6587 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.5426, allocations: 160.1 kB / 0.6588 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.5427, allocations: 21.11 kB / 0.6588 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.5453, allocations: 5.719 MB / 0.6644 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5453, allocations: 7.188 kB / 0.6644 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.5478, allocations: 1.794 MB / 0.6662 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.5482, allocations: 252.6 kB / 0.6664 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.5485, allocations: 30.25 kB / 0.6664 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.549, allocations: 42.48 kB / 0.6665 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.5491, allocations: 74.11 kB / 0.6666 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.5491, allocations: 28.34 kB / 0.6666 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002552/0.5517, allocations: 2.679 MB / 0.6692 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5517, allocations: 0 / 0.6692 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001503/0.5532, allocations: 0.5676 MB / 0.6698 GB, free: 131.3 MB / 0.4948 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.002902/0.5561, allocations: 2.648 MB / 0.6723 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003618/0.5597, allocations: 2.268 MB / 0.6746 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5597, allocations: 1.094 kB / 0.6746 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.5616, allocations: 0.9366 MB / 0.6755 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.5634, allocations: 0.5423 MB / 0.676 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/0.591, allocations: 23.92 MB / 0.6994 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.5921, allocations: 1.092 MB / 0.7004 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001633/0.5937, allocations: 0.6352 MB / 0.701 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009995/0.5947, allocations: 1.062 MB / 0.7021 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/0.5947, allocations: 0 / 0.7021 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06821/0.6629, allocations: 68.64 MB / 0.7691 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.799/9.462, allocations: 3.281 kB / 0.7691 GB, free: 44.8 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 & /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: 11.341394591145217] Failed to read output from testmodel.py, exit status != 0: 9.579164198599756 9.586013856 9.278255368 Calling exit ...