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.001392/0.001392, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001607/0.001607, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.56/1.56, allocations: 230.6 MB / 256.8 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.1574/0.1574, allocations: 23.89 MB / 337.1 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: translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.GasSolubility_NIST_2") [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.002041/0.002041, allocations: 67.89 kB / 472.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4315, allocations: 59.87 MB / 0.5199 GB, free: 9.809 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.05051/0.482, allocations: 29.92 MB / 0.5491 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2105/0.6926, allocations: 150.6 MB / 0.6961 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.6953, allocations: 35.81 kB / 0.6961 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003801/0.6991, allocations: 1.018 MB / 0.6971 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.7037, allocations: 0.9038 MB / 0.698 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.708, allocations: 1.4 MB / 0.6994 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00446/0.7124, allocations: 2.279 MB / 0.7016 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.7132, allocations: 435.5 kB / 0.702 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.7144, allocations: 0.8175 MB / 0.7028 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.7158, allocations: 1.097 MB / 0.7039 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.7161, allocations: 200 kB / 0.7041 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.7202, allocations: 1.654 MB / 0.7057 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.7207, allocations: 0.6112 MB / 0.7063 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.7219, allocations: 1.193 MB / 0.7075 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006532/0.7284, allocations: 4.091 MB / 0.7115 GB, free: 5.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7285, allocations: 4 kB / 0.7115 GB, free: 5.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7285, allocations: 0 / 0.7115 GB, free: 5.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.28e-05/0.7285, allocations: 0 / 0.7115 GB, free: 5.246 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.004476/0.733, allocations: 2.627 MB / 0.714 GB, free: 2.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.733, allocations: 8.031 kB / 0.714 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/0.734, allocations: 422.9 kB / 0.7144 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.7356, allocations: 0.954 MB / 0.7154 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.7359, allocations: 267.3 kB / 0.7156 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.7362, allocations: 196.3 kB / 0.7158 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0084/0.7446, allocations: 6.947 MB / 0.7226 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.7446, allocations: 0 / 0.7226 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.7448, allocations: 79.98 kB / 0.7227 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003876/0.7452, allocations: 332.5 kB / 0.723 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2794/1.025, allocations: 12.16 MB / 0.7349 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/1.046, allocations: 13.12 MB / 0.7477 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/1.05, allocations: 1.771 MB / 0.7494 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/1.052, allocations: 1.129 MB / 0.7505 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/1.065, allocations: 6.907 MB / 0.7573 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.065, allocations: 39.25 kB / 0.7573 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.966e-06/1.065, allocations: 0 / 0.7573 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.02032/1.086, allocations: 8.279 MB / 0.7654 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.086, allocations: 67.16 kB / 0.7654 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/1.088, allocations: 2.289 MB / 0.7677 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/1.089, allocations: 41.45 kB / 0.7677 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/1.089, allocations: 1.133 MB / 0.7688 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.09, allocations: 344.1 kB / 0.7692 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/1.09, allocations: 352.5 kB / 0.7695 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/1.09, allocations: 346.7 kB / 0.7698 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/1.092, allocations: 1.221 MB / 0.771 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/1.093, allocations: 1.639 MB / 0.7726 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/1.096, allocations: 2.954 MB / 0.7755 GB, free: 165 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.096, allocations: 4 kB / 0.7755 GB, free: 165 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005285/1.102, allocations: 3.41 MB / 0.7788 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.102, allocations: 12 kB / 0.7788 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/1.102, allocations: 12 kB / 0.7789 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/1.102, allocations: 200.3 kB / 0.779 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/1.11, allocations: 0.7439 MB / 0.7798 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/1.115, allocations: 5.749 MB / 0.7854 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.117, allocations: 39.98 kB / 0.7854 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/1.117, allocations: 227.9 kB / 0.7856 GB, free: 154.2 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.001323/1.118, allocations: 0.6449 MB / 0.7863 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/1.119, allocations: 218.5 kB / 0.7865 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004827/1.123, allocations: 2.518 MB / 0.7889 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.123, allocations: 7.938 kB / 0.789 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.123, allocations: 10.59 kB / 0.789 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.123, allocations: 3.984 kB / 0.789 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/1.129, allocations: 3.754 MB / 0.7926 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.129, allocations: 4 kB / 0.7926 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006779/1.136, allocations: 494 kB / 0.7931 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/1.137, allocations: 166.4 kB / 0.7933 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/1.137, allocations: 27.98 kB / 0.7933 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/1.141, allocations: 5.765 MB / 0.7989 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.141, allocations: 4 kB / 0.7989 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/1.144, allocations: 1.651 MB / 0.8005 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/1.145, allocations: 258.4 kB / 0.8008 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/1.145, allocations: 19.94 kB / 0.8008 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/1.146, allocations: 31.92 kB / 0.8008 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.146, allocations: 71.12 kB / 0.8009 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.146, allocations: 27.98 kB / 0.8009 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002822/1.149, allocations: 2.603 MB / 0.8035 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.149, allocations: 2.688 kB / 0.8035 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00184/1.151, allocations: 0.527 MB / 0.804 GB, free: 134.9 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.0006566/1.152, allocations: 404.9 kB / 0.8044 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005343/1.157, allocations: 2.121 MB / 0.8064 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.157, allocations: 2.625 kB / 0.8064 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/1.161, allocations: 0.8912 MB / 0.8073 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.163, allocations: 0.5435 MB / 0.8078 GB, free: 131 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/1.17, allocations: 4.139 MB / 0.8119 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.171, allocations: 1.651 MB / 0.8135 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.172, allocations: 265.9 kB / 0.8138 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.164e-06/1.172, allocations: 2.656 kB / 0.8138 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07439/1.247, allocations: 79.62 MB / 0.8915 GB, free: 45.95 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.36320927500492] Failed to read output from testmodel.py, exit status != 0: 1.2565281509887427 1.265372727 0.5345785630000001 Calling exit ...