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.001606/0.001606, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.00191/0.00191, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.8 MB, free: 7.797 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.1403/0.1403, allocations: 23.92 MB / 337.1 MB, free: 11.04 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",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.002114/0.002114, allocations: 59.91 kB / 471.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 59.87 MB / 0.5193 GB, free: 9.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1817:5-1817: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:1817:5-1817: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/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 master/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.07744/0.4201, allocations: 28.35 MB / 0.547 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1771/0.5972, allocations: 128.7 MB / 0.6727 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.5994, allocations: 27.81 kB / 0.6728 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.6034, allocations: 1.01 MB / 0.6738 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.6081, allocations: 0.8843 MB / 0.6746 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.6123, allocations: 1.353 MB / 0.6759 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.6167, allocations: 2.287 MB / 0.6782 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.6175, allocations: 423.5 kB / 0.6786 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.6187, allocations: 0.79 MB / 0.6794 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.6199, allocations: 0.9491 MB / 0.6803 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.6202, allocations: 220 kB / 0.6805 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.6238, allocations: 1.182 MB / 0.6816 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006779/0.6244, allocations: 0.6619 MB / 0.6823 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.6256, allocations: 0.913 MB / 0.6832 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007202/0.6328, allocations: 4.099 MB / 0.6872 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6328, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6328, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.6329, allocations: 0 / 0.6872 GB, free: 13.49 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.005125/0.638, allocations: 2.678 MB / 0.6898 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.638, allocations: 12.03 kB / 0.6898 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.59e-05/0.6381, allocations: 56.08 kB / 0.6899 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003846/0.6385, allocations: 325.8 kB / 0.6902 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.6406, allocations: 0.5495 MB / 0.6907 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.6427, allocations: 1.158 MB / 0.6918 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.6431, allocations: 363.2 kB / 0.6922 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.6434, allocations: 208 kB / 0.6924 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/0.6533, allocations: 8.372 MB / 0.7006 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.6534, allocations: 3.938 kB / 0.7006 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.6535, allocations: 79.98 kB / 0.7006 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00039/0.6539, allocations: 348.6 kB / 0.701 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.6698, allocations: 13.94 MB / 0.7146 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2798/0.9495, allocations: 19.87 MB / 0.734 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.9548, allocations: 3.825 MB / 0.7377 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/0.9584, allocations: 2.685 MB / 0.7404 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.9599, allocations: 0.571 MB / 0.7409 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.96, allocations: 43.44 kB / 0.741 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=83): time 2.946e-06/0.96, allocations: 1.312 kB / 0.741 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.03893/0.9989, allocations: 15.17 MB / 0.7558 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006233/1.005, allocations: 3.23 MB / 0.7589 GB, free: 175 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007912/1.013, allocations: 3.204 MB / 0.7621 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006688/1.014, allocations: 45.67 kB / 0.7621 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.015, allocations: 1.035 MB / 0.7631 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/1.015, allocations: 372.9 kB / 0.7635 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/1.017, allocations: 381.3 kB / 0.7638 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/1.017, allocations: 349 kB / 0.7642 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005827/1.023, allocations: 3.302 MB / 0.7674 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005911/1.029, allocations: 3.51 MB / 0.7708 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008623/1.037, allocations: 4.263 MB / 0.775 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.037, allocations: 4 kB / 0.775 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01543/1.053, allocations: 6.744 MB / 0.7816 GB, free: 157 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.053, allocations: 8 kB / 0.7816 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.053, allocations: 7.938 kB / 0.7816 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.054, allocations: 460.9 kB / 0.782 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/1.069, allocations: 1.076 MB / 0.7831 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.08, allocations: 8.382 MB / 0.7913 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.083, allocations: 63.95 kB / 0.7913 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008315/1.084, allocations: 283.3 kB / 0.7916 GB, free: 146.4 MB / 0.5606 GB 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 (125): * Single equations (assignments): 121 * 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.002174/1.086, allocations: 0.6204 MB / 0.7922 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.087, allocations: 270.2 kB / 0.7925 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.099, allocations: 3.299 MB / 0.7957 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.099, allocations: 15.94 kB / 0.7957 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.099, allocations: 0 / 0.7957 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.099, allocations: 3.984 kB / 0.7957 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.112, allocations: 5.222 MB / 0.8008 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.112, allocations: 6.656 kB / 0.8008 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006602/1.119, allocations: 0.4891 MB / 0.8013 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/1.12, allocations: 232.4 kB / 0.8015 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/1.12, allocations: 27.98 kB / 0.8015 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006014/1.126, allocations: 6.405 MB / 0.8078 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00252/1.129, allocations: 1.844 MB / 0.8096 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005579/1.134, allocations: 2.329 MB / 0.8119 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.135, allocations: 370.9 kB / 0.8122 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008862/1.136, allocations: 27.95 kB / 0.8122 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.138, allocations: 42.7 kB / 0.8123 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.138, allocations: 108.4 kB / 0.8124 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.543e-05/1.138, allocations: 31.98 kB / 0.8124 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004979/1.143, allocations: 4.014 MB / 0.8163 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.143, allocations: 0 / 0.8163 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002638/1.146, allocations: 0.6816 MB / 0.817 GB, free: 119.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 76 * 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.00601/1.152, allocations: 3.171 MB / 0.8201 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007725/1.16, allocations: 4.041 MB / 0.824 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.16, allocations: 4 kB / 0.824 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004346/1.164, allocations: 1.127 MB / 0.8251 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004285/1.168, allocations: 0.6551 MB / 0.8258 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05699/1.225, allocations: 43.32 MB / 0.8681 GB, free: 67.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.227, allocations: 1.096 MB / 0.8692 GB, free: 65.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001962/1.229, allocations: 0.5539 MB / 0.8697 GB, free: 65.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.23, allocations: 1.066 MB / 0.8707 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/1.23, allocations: 3.938 kB / 0.8707 GB, free: 64.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.396/1.626, allocations: 91.4 MB / 0.96 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/22.33, allocations: 6.797 kB / 0.96 GB, free: 195.1 MB / 0.5762 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.63225027010776] Failed to read output from testmodel.py, exit status != 0: 22.56546901492402 22.584244349 21.947342885 Calling exit ...