Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001253/0.001253, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.00132/0.00132, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1602/0.1602, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_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.002046/0.002046, allocations: 60.84 kB / 466.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1305, allocations: 59.83 MB / 0.5142 GB, free: 12.97 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/Interfaces.mo:1819:5-1819: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 2.0.0/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 2.0.0/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.0485/0.179, allocations: 29.65 MB / 0.5431 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.544/0.723, allocations: 150.5 MB / 0.6901 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.725, allocations: 27.81 kB / 0.6901 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.7289, allocations: 1.095 MB / 0.6912 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.7326, allocations: 0.8844 MB / 0.692 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.737, allocations: 1.418 MB / 0.6934 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.7418, allocations: 2.293 MB / 0.6957 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.7428, allocations: 496.6 kB / 0.6961 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.7442, allocations: 0.7862 MB / 0.6969 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.7455, allocations: 0.9491 MB / 0.6978 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.7458, allocations: 212 kB / 0.698 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.7508, allocations: 1.755 MB / 0.6998 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007803/0.7516, allocations: 0.6541 MB / 0.7004 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.753, allocations: 1.22 MB / 0.7016 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008198/0.7612, allocations: 4.258 MB / 0.7057 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.7612, allocations: 3.984 kB / 0.7057 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7612, allocations: 0 / 0.7057 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.374e-05/0.7613, allocations: 0 / 0.7057 GB, free: 11.43 MB / 0.4981 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.005119/0.7664, allocations: 2.757 MB / 0.7084 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.7665, allocations: 12.03 kB / 0.7085 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.428e-05/0.7665, allocations: 52.08 kB / 0.7085 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/0.7669, allocations: 325.8 kB / 0.7088 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.7682, allocations: 469.3 kB / 0.7093 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.7701, allocations: 1.207 MB / 0.7104 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.7704, allocations: 307.9 kB / 0.7107 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.7707, allocations: 196.3 kB / 0.7109 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009816/0.7805, allocations: 8.004 MB / 0.7187 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.7806, allocations: 0 / 0.7187 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.7807, allocations: 79.98 kB / 0.7188 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003964/0.7811, allocations: 340.6 kB / 0.7191 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.796, allocations: 13.33 MB / 0.7322 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03739/0.8334, allocations: 20.18 MB / 0.7519 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008589/0.842, allocations: 3.743 MB / 0.7555 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00556/0.8475, allocations: 2.607 MB / 0.7581 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003825/0.8513, allocations: 1.62 MB / 0.7596 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.8515, allocations: 47.16 kB / 0.7597 GB, free: 3.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 4.629e-06/0.8515, allocations: 0 / 0.7597 GB, free: 3.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=102): time 0.03913/0.8906, allocations: 15.1 MB / 0.7744 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00561/0.8962, allocations: 3.314 MB / 0.7777 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/0.9031, allocations: 3.189 MB / 0.7808 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005325/0.9037, allocations: 45.7 kB / 0.7808 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.9051, allocations: 1.045 MB / 0.7818 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008099/0.9059, allocations: 364.9 kB / 0.7822 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.9075, allocations: 378.8 kB / 0.7826 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002504/0.9077, allocations: 350.5 kB / 0.7829 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004927/0.9126, allocations: 3.199 MB / 0.786 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.9186, allocations: 3.407 MB / 0.7893 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03604/0.9546, allocations: 10.26 MB / 0.7994 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.9546, allocations: 0 / 0.7994 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01313/0.9678, allocations: 6.585 MB / 0.8058 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.9678, allocations: 8 kB / 0.8058 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.9678, allocations: 6.719 kB / 0.8058 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.9688, allocations: 446.5 kB / 0.8062 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009846/0.9787, allocations: 1.05 MB / 0.8073 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.9903, allocations: 8.661 MB / 0.8157 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.9925, allocations: 47.97 kB / 0.8158 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008041/0.9933, allocations: 279.9 kB / 0.816 GB, free: 8.945 MB / 0.6075 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real 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 (124): * Single equations (assignments): 120 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002256/0.9956, allocations: 0.6362 MB / 0.8166 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.9966, allocations: 266.2 kB / 0.8169 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008818/1.005, allocations: 3.207 MB / 0.82 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.005, allocations: 15.94 kB / 0.82 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.005, allocations: 0 / 0.82 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.005, allocations: 3.984 kB / 0.8201 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.294/1.3, allocations: 5.853 MB / 0.8258 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.3, allocations: 4.781 kB / 0.8258 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006019/1.306, allocations: 478 kB / 0.8262 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/1.307, allocations: 227.5 kB / 0.8264 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.307, allocations: 28.12 kB / 0.8265 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/1.313, allocations: 6.9 MB / 0.8332 GB, free: 228.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002486/1.316, allocations: 1.998 MB / 0.8352 GB, free: 227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/1.321, allocations: 2.187 MB / 0.8373 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/1.322, allocations: 446.7 kB / 0.8377 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/1.322, allocations: 26.41 kB / 0.8377 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/1.323, allocations: 30.78 kB / 0.8378 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/1.323, allocations: 101.6 kB / 0.8379 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/1.323, allocations: 34.69 kB / 0.8379 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005592/1.329, allocations: 4.009 MB / 0.8418 GB, free: 224 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.329, allocations: 0 / 0.8418 GB, free: 224 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002621/1.331, allocations: 0.6854 MB / 0.8425 GB, free: 224 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (79): * Single equations (assignments): 75 * 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.005971/1.337, allocations: 3.027 MB / 0.8454 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007888/1.345, allocations: 3.897 MB / 0.8493 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.345, allocations: 1.375 kB / 0.8493 GB, free: 220.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003841/1.349, allocations: 1.072 MB / 0.8503 GB, free: 220.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/1.353, allocations: 0.6546 MB / 0.8509 GB, free: 220 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0521/1.405, allocations: 42.56 MB / 0.8925 GB, free: 184.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.406, allocations: 1.678 MB / 0.8941 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001534/1.407, allocations: 0.5454 MB / 0.8947 GB, free: 182.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.409, allocations: 1.054 MB / 0.8957 GB, free: 181.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/1.409, allocations: 6.688 kB / 0.8957 GB, free: 181.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.545, allocations: 86.07 MB / 0.9798 GB, free: 96.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/20.52, allocations: 10.55 kB / 0.9798 GB, free: 96.21 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.828597988002002] Failed to read output from testmodel.py, exit status != 0: 20.721946581965312 20.741625059 19.976390105 Calling exit ...