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.002011/0.002011, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002628/0.002628, allocations: 216.5 kB / 22.3 MB, free: 5.305 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.57/1.57, allocations: 230.6 MB / 256.1 MB, free: 7.773 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.1457/0.1457, allocations: 23.88 MB / 336.4 MB, free: 10.9 MB / 270.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.002098/0.002098, allocations: 59.91 kB / 471.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4832, allocations: 59.86 MB / 0.5191 GB, free: 9.809 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.08653/0.5697, allocations: 28.68 MB / 0.5471 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2016/0.7713, allocations: 128.8 MB / 0.6729 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.7748, allocations: 23.88 kB / 0.673 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.7796, allocations: 0.9905 MB / 0.6739 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.7846, allocations: 0.8766 MB / 0.6748 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.7902, allocations: 1.33 MB / 0.6761 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005733/0.796, allocations: 2.298 MB / 0.6783 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.7971, allocations: 419.5 kB / 0.6787 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.799, allocations: 0.7862 MB / 0.6795 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.801, allocations: 0.8163 MB / 0.6803 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000671/0.8017, allocations: 212 kB / 0.6805 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.8064, allocations: 1.143 MB / 0.6816 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.8075, allocations: 0.6619 MB / 0.6823 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.8099, allocations: 0.913 MB / 0.6832 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.8208, allocations: 4.102 MB / 0.6872 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.8208, allocations: 0 / 0.6872 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8208, allocations: 0 / 0.6872 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001598/0.8209, allocations: 3.984 kB / 0.6872 GB, free: 13.18 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.008197/0.8291, allocations: 2.682 MB / 0.6898 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.8292, allocations: 12.03 kB / 0.6898 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.8314, allocations: 0.5417 MB / 0.6903 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.8336, allocations: 1.162 MB / 0.6915 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.8341, allocations: 367.2 kB / 0.6918 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.8343, allocations: 200.3 kB / 0.692 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.8454, allocations: 8.38 MB / 0.7002 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.8455, allocations: 0 / 0.7002 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.8456, allocations: 79.98 kB / 0.7003 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004128/0.846, allocations: 340.6 kB / 0.7006 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.8626, allocations: 13.92 MB / 0.7142 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3869/1.25, allocations: 18.88 MB / 0.7326 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006175/1.256, allocations: 3.824 MB / 0.7364 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/1.26, allocations: 2.677 MB / 0.739 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/1.262, allocations: 0.5755 MB / 0.7395 GB, free: 184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/1.262, allocations: 44.17 kB / 0.7396 GB, free: 184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/1.262, allocations: 2.906 kB / 0.7396 GB, free: 184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03613/1.298, allocations: 15.01 MB / 0.7542 GB, free: 178 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004671/1.302, allocations: 3.211 MB / 0.7574 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.304, allocations: 1.272 MB / 0.7586 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/1.305, allocations: 41.08 kB / 0.7587 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008013/1.306, allocations: 1.113 MB / 0.7597 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/1.306, allocations: 367.2 kB / 0.7601 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000985/1.307, allocations: 394.9 kB / 0.7605 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/1.307, allocations: 346.5 kB / 0.7608 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004495/1.312, allocations: 3.297 MB / 0.764 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/1.316, allocations: 3.518 MB / 0.7675 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/1.337, allocations: 9.524 MB / 0.7768 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.337, allocations: 0 / 0.7768 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009507/1.346, allocations: 6.618 MB / 0.7832 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/1.347, allocations: 8 kB / 0.7832 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.347, allocations: 7.844 kB / 0.7832 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/1.347, allocations: 458.3 kB / 0.7837 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008899/1.356, allocations: 1.078 MB / 0.7847 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/1.363, allocations: 8.313 MB / 0.7928 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/1.365, allocations: 58.61 kB / 0.7929 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/1.365, allocations: 287.9 kB / 0.7932 GB, free: 144.4 MB / 0.5606 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.001539/1.367, allocations: 0.6334 MB / 0.7938 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/1.367, allocations: 133.8 kB / 0.7939 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/1.374, allocations: 3.175 MB / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/1.374, allocations: 14.59 kB / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.374, allocations: 0 / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.374, allocations: 6.891 kB / 0.797 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/1.382, allocations: 5.726 MB / 0.8026 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.382, allocations: 5.641 kB / 0.8026 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005619/1.388, allocations: 0.4903 MB / 0.8031 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009986/1.389, allocations: 217 kB / 0.8033 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.46e-05/1.389, allocations: 23.98 kB / 0.8033 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005429/1.394, allocations: 6.325 MB / 0.8095 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002192/1.397, allocations: 1.824 MB / 0.8113 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/1.401, allocations: 2.173 MB / 0.8134 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/1.402, allocations: 147.4 kB / 0.8136 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.402, allocations: 29.2 kB / 0.8136 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/1.403, allocations: 47.95 kB / 0.8136 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.403, allocations: 100.1 kB / 0.8137 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/1.403, allocations: 38.64 kB / 0.8138 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002412/1.406, allocations: 2.651 MB / 0.8164 GB, free: 120 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.406, allocations: 0 / 0.8164 GB, free: 120 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002349/1.408, allocations: 0.6495 MB / 0.817 GB, free: 119.3 MB / 0.5606 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.0006961/1.409, allocations: 391.4 kB / 0.8174 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006797/1.415, allocations: 4.046 MB / 0.8213 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.415, allocations: 0 / 0.8213 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003657/1.419, allocations: 1.111 MB / 0.8224 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.421, allocations: 327.6 kB / 0.8227 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/1.427, allocations: 4.146 MB / 0.8268 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.428, allocations: 1.112 MB / 0.8278 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001308/1.429, allocations: 389.2 kB / 0.8282 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/1.43, allocations: 196.4 kB / 0.8284 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.43, allocations: 2.656 kB / 0.8284 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06314/1.493, allocations: 54.96 MB / 0.8821 GB, free: 53.88 MB / 0.5606 GB " [Timeout remaining time 658] 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: 7.805958641692996] Failed to read output from testmodel.py, exit status != 0: 1.5026011373847723 1.512014519 0.6886973399999999 Calling exit ...