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.001598/0.001598, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001921/0.001921, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1504/0.1504, allocations: 23.86 MB / 333.4 MB, free: 1.199 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: translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002011/0.002011, allocations: 70.25 kB / 467.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1268, allocations: 59.83 MB / 0.5146 GB, free: 12.46 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.04617/0.1729, allocations: 29.63 MB / 0.5436 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5672/0.7401, allocations: 150.5 MB / 0.6905 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.7425, allocations: 19.94 kB / 0.6906 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00422/0.7467, allocations: 1.112 MB / 0.6917 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.7506, allocations: 0.8774 MB / 0.6925 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.7548, allocations: 1.418 MB / 0.6939 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.7593, allocations: 2.278 MB / 0.6961 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008926/0.7602, allocations: 0.4888 MB / 0.6966 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.7614, allocations: 0.79 MB / 0.6974 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.7625, allocations: 0.9453 MB / 0.6983 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002574/0.7628, allocations: 212 kB / 0.6985 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.7672, allocations: 1.751 MB / 0.7002 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.7679, allocations: 0.6619 MB / 0.7009 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.7692, allocations: 1.228 MB / 0.702 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.777, allocations: 4.254 MB / 0.7062 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.777, allocations: 0 / 0.7062 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.584e-06/0.777, allocations: 3.938 kB / 0.7062 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.245e-05/0.7771, allocations: 0 / 0.7062 GB, free: 11.14 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.005241/0.7823, allocations: 2.749 MB / 0.7089 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7824, allocations: 15.97 kB / 0.7089 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7836, allocations: 472.3 kB / 0.7094 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.7855, allocations: 1.203 MB / 0.7105 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.7858, allocations: 303.8 kB / 0.7108 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.7861, allocations: 196.3 kB / 0.711 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.7956, allocations: 8.009 MB / 0.7188 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.7956, allocations: 3.938 kB / 0.7188 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.7958, allocations: 75.98 kB / 0.7189 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/0.7962, allocations: 344.6 kB / 0.7192 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.8113, allocations: 13.32 MB / 0.7322 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03235/0.8437, allocations: 20.18 MB / 0.752 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/0.8497, allocations: 3.742 MB / 0.7556 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/0.8535, allocations: 2.603 MB / 0.7581 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003086/0.8566, allocations: 1.628 MB / 0.7597 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.8566, allocations: 39.22 kB / 0.7598 GB, free: 3.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 3.937e-06/0.8566, allocations: 0 / 0.7598 GB, free: 3.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=102): time 0.03913/0.8958, allocations: 15.1 MB / 0.7745 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005594/0.9014, allocations: 3.316 MB / 0.7778 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006433/0.9078, allocations: 3.189 MB / 0.7809 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005188/0.9083, allocations: 41.7 kB / 0.7809 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.9096, allocations: 1.047 MB / 0.7819 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008655/0.9105, allocations: 368.8 kB / 0.7823 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.9118, allocations: 378.8 kB / 0.7826 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.9121, allocations: 353.9 kB / 0.783 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/0.9167, allocations: 3.196 MB / 0.7861 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/0.9215, allocations: 3.41 MB / 0.7894 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0348/0.9563, allocations: 10.27 MB / 0.7995 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.9563, allocations: 4 kB / 0.7995 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0122/0.9685, allocations: 6.577 MB / 0.8059 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.9686, allocations: 8 kB / 0.8059 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.9686, allocations: 8 kB / 0.8059 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009499/0.9695, allocations: 442.6 kB / 0.8063 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009617/0.9792, allocations: 1.061 MB / 0.8074 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.9902, allocations: 8.644 MB / 0.8158 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.9922, allocations: 40.17 kB / 0.8158 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007478/0.993, allocations: 287.9 kB / 0.8161 GB, free: 9.051 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.002036/0.995, allocations: 0.6372 MB / 0.8167 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.9961, allocations: 266.2 kB / 0.817 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008415/1.004, allocations: 3.21 MB / 0.8201 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.004, allocations: 12 kB / 0.8201 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.004, allocations: 5.719 kB / 0.8201 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.005, allocations: 3.984 kB / 0.8201 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3424/1.347, allocations: 5.854 MB / 0.8259 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.347, allocations: 5.719 kB / 0.8259 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006099/1.353, allocations: 474.3 kB / 0.8263 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/1.354, allocations: 223.3 kB / 0.8265 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.354, allocations: 27.09 kB / 0.8266 GB, free: 234.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00693/1.361, allocations: 6.908 MB / 0.8333 GB, free: 228.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002559/1.364, allocations: 1.989 MB / 0.8352 GB, free: 227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/1.369, allocations: 2.189 MB / 0.8374 GB, free: 226.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.37, allocations: 447.2 kB / 0.8378 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/1.37, allocations: 26.59 kB / 0.8378 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/1.371, allocations: 35.92 kB / 0.8379 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/1.371, allocations: 94.11 kB / 0.838 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/1.372, allocations: 37.44 kB / 0.838 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00602/1.378, allocations: 4.006 MB / 0.8419 GB, free: 224 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.378, allocations: 0 / 0.8419 GB, free: 224 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003375/1.381, allocations: 0.6906 MB / 0.8426 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.0009694/1.382, allocations: 401.9 kB / 0.843 GB, free: 223.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007977/1.39, allocations: 3.893 MB / 0.8468 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.39, allocations: 1.094 kB / 0.8468 GB, free: 222.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004043/1.394, allocations: 1.055 MB / 0.8478 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/1.397, allocations: 0.6601 MB / 0.8484 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/1.407, allocations: 4.525 MB / 0.8529 GB, free: 219.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.408, allocations: 1.68 MB / 0.8545 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.409, allocations: 263.9 kB / 0.8548 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.303e-06/1.409, allocations: 5.906 kB / 0.8548 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.08336/1.493, allocations: 89.6 MB / 0.9423 GB, free: 135.1 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (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 & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.888495286984835] Failed to read output from testmodel.py, exit status != 0: 1.5012479150027502 1.509926438 0.730594913 Calling exit ...