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.001494/0.001494, allocations: 104.3 kB / 19.7 MB, free: 2.16 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.001804/0.001804, allocations: 214.4 kB / 22.99 MB, free: 4.988 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1559/0.1559, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.00226/0.00226, allocations: 72.17 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4198, allocations: 59.88 MB / 0.5198 GB, free: 9.793 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.08331/0.5031, allocations: 28.63 MB / 0.5478 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2135/0.7166, allocations: 128.9 MB / 0.6736 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.7196, allocations: 39.75 kB / 0.6737 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.723, allocations: 0.936 MB / 0.6746 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.7263, allocations: 0.9077 MB / 0.6755 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.7301, allocations: 1.326 MB / 0.6768 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004097/0.7342, allocations: 2.287 MB / 0.679 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.735, allocations: 423.5 kB / 0.6794 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.7362, allocations: 0.8253 MB / 0.6802 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.7376, allocations: 1.09 MB / 0.6813 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.7378, allocations: 204 kB / 0.6815 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.741, allocations: 1.1 MB / 0.6825 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.7416, allocations: 0.6111 MB / 0.6831 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009491/0.7426, allocations: 0.874 MB / 0.684 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006138/0.7487, allocations: 3.943 MB / 0.6878 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7487, allocations: 0 / 0.6878 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7487, allocations: 0 / 0.6878 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.761e-05/0.7488, allocations: 0 / 0.6878 GB, free: 13.22 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.004224/0.753, allocations: 2.627 MB / 0.6904 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.753, allocations: 8.031 kB / 0.6904 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.7546, allocations: 0.5143 MB / 0.6909 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.7562, allocations: 0.9462 MB / 0.6918 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.7564, allocations: 271.3 kB / 0.6921 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.7567, allocations: 192.4 kB / 0.6923 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008242/0.765, allocations: 6.974 MB / 0.6991 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.765, allocations: 11.94 kB / 0.6991 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.7652, allocations: 79.97 kB / 0.6992 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003713/0.7655, allocations: 328.6 kB / 0.6995 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.7789, allocations: 12.19 MB / 0.7114 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.7981, allocations: 11.72 MB / 0.7228 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.8011, allocations: 1.802 MB / 0.7246 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.803, allocations: 1.158 MB / 0.7257 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3044/1.107, allocations: 6.124 MB / 0.7317 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.107, allocations: 42.14 kB / 0.7317 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 4.488e-06/1.107, allocations: 2.172 kB / 0.7317 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94): time 0.0234/1.131, allocations: 8.358 MB / 0.7399 GB, free: 186 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.131, allocations: 61.91 kB / 0.74 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.133, allocations: 1.146 MB / 0.7411 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.133, allocations: 41.05 kB / 0.7411 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008147/1.134, allocations: 1.168 MB / 0.7423 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/1.134, allocations: 341.7 kB / 0.7426 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007242/1.135, allocations: 357.7 kB / 0.7429 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.135, allocations: 351.4 kB / 0.7433 GB, free: 184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/1.137, allocations: 1.251 MB / 0.7445 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/1.14, allocations: 1.672 MB / 0.7461 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/1.145, allocations: 3.015 MB / 0.7491 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.145, allocations: 3.938 kB / 0.7491 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006867/1.151, allocations: 3.396 MB / 0.7524 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.151, allocations: 10 kB / 0.7524 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/1.151, allocations: 14.38 kB / 0.7524 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/1.152, allocations: 195.2 kB / 0.7526 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007604/1.16, allocations: 0.7631 MB / 0.7533 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/1.165, allocations: 5.638 MB / 0.7588 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.166, allocations: 63.48 kB / 0.7589 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/1.167, allocations: 223.1 kB / 0.7591 GB, free: 173.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.001873/1.169, allocations: 0.6454 MB / 0.7598 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.169, allocations: 137.3 kB / 0.7599 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00608/1.175, allocations: 2.508 MB / 0.7623 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.175, allocations: 12.19 kB / 0.7623 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.175, allocations: 5.312 kB / 0.7623 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.175, allocations: 3.656 kB / 0.7624 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007797/1.183, allocations: 3.014 MB / 0.7653 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.148e-06/1.183, allocations: 3 kB / 0.7653 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006296/1.189, allocations: 0.4964 MB / 0.7658 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.19, allocations: 169.3 kB / 0.7659 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.19, allocations: 21.7 kB / 0.766 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/1.195, allocations: 5.664 MB / 0.7715 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.195, allocations: 4.188 kB / 0.7715 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/1.199, allocations: 1.662 MB / 0.7731 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/1.199, allocations: 113.6 kB / 0.7732 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.2, allocations: 26.12 kB / 0.7733 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/1.2, allocations: 35.5 kB / 0.7733 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.201, allocations: 73 kB / 0.7734 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/1.201, allocations: 33.42 kB / 0.7734 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002328/1.203, allocations: 1.767 MB / 0.7751 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.203, allocations: 0 / 0.7751 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002394/1.205, allocations: 0.5023 MB / 0.7756 GB, free: 162.8 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.0007295/1.206, allocations: 394.9 kB / 0.776 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005569/1.212, allocations: 2.191 MB / 0.7781 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.212, allocations: 0 / 0.7781 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/1.215, allocations: 0.9237 MB / 0.779 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.217, allocations: 323.6 kB / 0.7793 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/1.225, allocations: 4.034 MB / 0.7833 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.226, allocations: 1.078 MB / 0.7843 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.227, allocations: 228.5 kB / 0.7845 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.227, allocations: 0 / 0.7845 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06599/1.293, allocations: 74.8 MB / 0.8576 GB, free: 80.01 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: 13.106825227034278] Failed to read output from testmodel.py, exit status != 0: 1.3025187209714204 1.31172069 0.560678346 Calling exit ...