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.001471/0.001471, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001674/0.001674, allocations: 216 kB / 22.25 MB, free: 5.105 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.793 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.1304/0.1304, allocations: 23.92 MB / 336.4 MB, free: 10.91 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.001926/0.001926, allocations: 71.89 kB / 471.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 59.87 MB / 0.5186 GB, free: 9.543 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.06943/0.3625, allocations: 28.61 MB / 0.5465 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1589/0.5214, allocations: 128.8 MB / 0.6724 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.5232, allocations: 35.81 kB / 0.6724 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.5259, allocations: 0.9438 MB / 0.6733 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.5283, allocations: 0.9076 MB / 0.6742 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.5314, allocations: 1.322 MB / 0.6755 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.5345, allocations: 2.283 MB / 0.6777 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006585/0.5351, allocations: 427.5 kB / 0.6781 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008872/0.536, allocations: 0.8214 MB / 0.6789 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.5374, allocations: 1.097 MB / 0.68 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.5376, allocations: 204 kB / 0.6802 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.5398, allocations: 1.092 MB / 0.6813 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.5404, allocations: 0.6189 MB / 0.6819 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008327/0.5412, allocations: 0.8701 MB / 0.6827 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.5455, allocations: 3.935 MB / 0.6866 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5455, allocations: 4 kB / 0.6866 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5455, allocations: 0 / 0.6866 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.5455, allocations: 0 / 0.6866 GB, free: 13.3 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.003928/0.5495, allocations: 2.631 MB / 0.6891 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5495, allocations: 8.031 kB / 0.6891 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003565/0.5499, allocations: 321.8 kB / 0.6894 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.5515, allocations: 0.5105 MB / 0.6899 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.5529, allocations: 0.9579 MB / 0.6909 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.5532, allocations: 267.3 kB / 0.6911 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.5535, allocations: 192.4 kB / 0.6913 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008072/0.5615, allocations: 6.978 MB / 0.6981 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.5616, allocations: 4 kB / 0.6981 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.5617, allocations: 83.97 kB / 0.6982 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003572/0.5621, allocations: 332.6 kB / 0.6985 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.5755, allocations: 12.19 MB / 0.7104 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/0.5953, allocations: 12.54 MB / 0.7227 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.5984, allocations: 1.802 MB / 0.7244 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.6004, allocations: 1.158 MB / 0.7256 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2184/0.8187, allocations: 6.324 MB / 0.7317 GB, free: 188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.8187, allocations: 39.03 kB / 0.7318 GB, free: 188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.966e-06/0.8188, allocations: 0 / 0.7318 GB, free: 188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.0204/0.8392, allocations: 8.425 MB / 0.74 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.8392, allocations: 62.66 kB / 0.7401 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/0.8422, allocations: 2.313 MB / 0.7423 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.8424, allocations: 41.77 kB / 0.7424 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.8431, allocations: 1.125 MB / 0.7435 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.8434, allocations: 349.9 kB / 0.7438 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/0.8441, allocations: 351.5 kB / 0.7441 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.8441, allocations: 355.9 kB / 0.7445 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.846, allocations: 1.247 MB / 0.7457 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.848, allocations: 1.666 MB / 0.7473 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.8521, allocations: 3.018 MB / 0.7503 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.8521, allocations: 3.812 kB / 0.7503 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006521/0.8587, allocations: 3.469 MB / 0.7537 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.8587, allocations: 10.28 kB / 0.7537 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/0.8587, allocations: 18.27 kB / 0.7537 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.8593, allocations: 199.3 kB / 0.7539 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/0.8677, allocations: 0.7622 MB / 0.7546 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/0.8723, allocations: 5.712 MB / 0.7602 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.8741, allocations: 59.47 kB / 0.7603 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/0.8744, allocations: 226.2 kB / 0.7605 GB, free: 171.8 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.001132/0.8755, allocations: 0.6526 MB / 0.7611 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.876, allocations: 223.2 kB / 0.7613 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.8814, allocations: 2.578 MB / 0.7638 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.8814, allocations: 9.031 kB / 0.7638 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8814, allocations: 2.219 kB / 0.7638 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.8814, allocations: 3.516 kB / 0.7639 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006139/0.8875, allocations: 3.343 MB / 0.7671 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8875, allocations: 3.188 kB / 0.7671 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007382/0.8949, allocations: 0.5023 MB / 0.7676 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.8954, allocations: 162.1 kB / 0.7678 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.8954, allocations: 22.61 kB / 0.7678 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.8996, allocations: 5.745 MB / 0.7734 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8996, allocations: 7.875 kB / 0.7734 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.9032, allocations: 1.747 MB / 0.7751 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.9038, allocations: 249.2 kB / 0.7753 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.9042, allocations: 30.16 kB / 0.7754 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.9052, allocations: 40.66 kB / 0.7754 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.9053, allocations: 75.91 kB / 0.7755 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.9054, allocations: 26.64 kB / 0.7755 GB, free: 161 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002471/0.9079, allocations: 2.602 MB / 0.7781 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9079, allocations: 0 / 0.7781 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001713/0.9096, allocations: 0.5251 MB / 0.7786 GB, free: 158.6 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.003982/0.9136, allocations: 2.582 MB / 0.7811 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005814/0.9194, allocations: 2.201 MB / 0.7832 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9194, allocations: 0 / 0.7832 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00384/0.9232, allocations: 0.9411 MB / 0.7842 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.9255, allocations: 0.5332 MB / 0.7847 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/0.9535, allocations: 23.06 MB / 0.8072 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.9544, allocations: 1.077 MB / 0.8082 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001626/0.956, allocations: 0.5852 MB / 0.8088 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.9572, allocations: 1.009 MB / 0.8098 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.9572, allocations: 0 / 0.8098 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.06, allocations: 66.95 MB / 0.8752 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.91, allocations: 0 / 0.8752 GB, free: 60.41 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.61264747599489] Failed to read output from testmodel.py, exit status != 0: 16.067595859989524 16.07722936 15.529585045 Calling exit ...