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.0009125/0.0009125, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009436/0.0009436, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9411/0.9411, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.08914/0.08914, allocations: 17.46 MB / 277.4 MB, free: 11.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.175e-05, allocations: 10.19 kB / 353.5 MB, free: 9.863 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1842:5-1842: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:1842:5-1842: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:1731:7-1731: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:1731:7-1731: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.03292/0.03295, allocations: 33.04 MB / 386.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2769/0.3099, allocations: 144.2 MB / 0.5184 GB, free: 7.938 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.3114, allocations: 59.5 kB / 0.5184 GB, free: 7.879 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.3142, allocations: 1.07 MB / 0.5195 GB, free: 6.828 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.3166, allocations: 1.179 MB / 0.5206 GB, free: 5.641 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.3199, allocations: 1.676 MB / 0.5223 GB, free: 3.957 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.3227, allocations: 2.587 MB / 0.5248 GB, free: 1.363 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.3233, allocations: 428.7 kB / 0.5252 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.3247, allocations: 1.322 MB / 0.5265 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.3258, allocations: 0.9507 MB / 0.5274 GB, free: 14.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.3261, allocations: 204 kB / 0.5276 GB, free: 14.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.3285, allocations: 1.38 MB / 0.529 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.3289, allocations: 0.693 MB / 0.5296 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.3295, allocations: 0.7519 MB / 0.5304 GB, free: 11.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002702/0.3322, allocations: 3.235 MB / 0.5335 GB, free: 8.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3322, allocations: 3.938 kB / 0.5335 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3322, allocations: 4 kB / 0.5335 GB, free: 8.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.3322, allocations: 0 / 0.5335 GB, free: 8.336 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 622 * Number of variables: 622 Notification: Performance of Generate backend data structure: time 0.002652/0.3349, allocations: 2.976 MB / 0.5364 GB, free: 5.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3349, allocations: 8.031 kB / 0.5364 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3361, allocations: 1.035 MB / 0.5375 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.3373, allocations: 1.345 MB / 0.5388 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.3374, allocations: 271.3 kB / 0.539 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.3376, allocations: 200.3 kB / 0.5392 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.3404, allocations: 2.846 MB / 0.542 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3405, allocations: 8.062 kB / 0.542 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.3405, allocations: 84.36 kB / 0.5421 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.3408, allocations: 328.6 kB / 0.5424 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.3444, allocations: 3.589 MB / 0.5459 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009152/0.3536, allocations: 9.951 MB / 0.5556 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.3548, allocations: 0.504 MB / 0.5561 GB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.3553, allocations: 254.6 kB / 0.5564 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2055/0.5609, allocations: 4.85 MB / 0.5611 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5609, allocations: 44.78 kB / 0.5611 GB, free: 30.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 2.525e-06/0.5609, allocations: 0 / 0.5611 GB, free: 30.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.01025/0.5712, allocations: 3.799 MB / 0.5648 GB, free: 29.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.5712, allocations: 62.59 kB / 0.5649 GB, free: 29.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5724, allocations: 1.243 MB / 0.5661 GB, free: 29.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.5725, allocations: 38.95 kB / 0.5662 GB, free: 29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.5731, allocations: 1.312 MB / 0.5674 GB, free: 28.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.5733, allocations: 345.2 kB / 0.5678 GB, free: 28.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004447/0.5738, allocations: 356.5 kB / 0.5681 GB, free: 28.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5739, allocations: 0.5363 MB / 0.5686 GB, free: 27.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.5745, allocations: 280.5 kB / 0.5689 GB, free: 27.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.5754, allocations: 0.9189 MB / 0.5698 GB, free: 27.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.5771, allocations: 1.301 MB / 0.5711 GB, free: 26.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5771, allocations: 3.656 kB / 0.5711 GB, free: 26.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002648/0.5797, allocations: 1.513 MB / 0.5725 GB, free: 26.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.5798, allocations: 13 kB / 0.5726 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.5798, allocations: 14.47 kB / 0.5726 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.5801, allocations: 152.6 kB / 0.5727 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.5836, allocations: 0.8074 MB / 0.5735 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.5865, allocations: 7.247 MB / 0.5806 GB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.5871, allocations: 56.5 kB / 0.5806 GB, free: 18.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.5873, allocations: 219.3 kB / 0.5808 GB, free: 18.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (150): * Single equations (assignments): 146 * 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.0005988/0.5879, allocations: 249.4 kB / 0.5811 GB, free: 18.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.5882, allocations: 188.9 kB / 0.5813 GB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.591, allocations: 2.188 MB / 0.5834 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.591, allocations: 8.625 kB / 0.5834 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.591, allocations: 1.844 kB / 0.5834 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.591, allocations: 3.781 kB / 0.5834 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.5948, allocations: 3.051 MB / 0.5864 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5948, allocations: 4.219 kB / 0.5864 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/0.5974, allocations: 0.5207 MB / 0.5869 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.5977, allocations: 133.7 kB / 0.587 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.5977, allocations: 27.62 kB / 0.5871 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.6002, allocations: 7.431 MB / 0.5943 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6002, allocations: 7.062 kB / 0.5943 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.6017, allocations: 1.198 MB / 0.5955 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.6018, allocations: 122.3 kB / 0.5956 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.602, allocations: 27.81 kB / 0.5956 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.6023, allocations: 32.22 kB / 0.5957 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6024, allocations: 70.2 kB / 0.5957 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.6024, allocations: 34.16 kB / 0.5958 GB, free: 9.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.6035, allocations: 1.148 MB / 0.5969 GB, free: 9.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6035, allocations: 0.7188 kB / 0.5969 GB, free: 9.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001481/0.6049, allocations: 0.5382 MB / 0.5974 GB, free: 9.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.0005138/0.6055, allocations: 385.5 kB / 0.5978 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.608, allocations: 1.448 MB / 0.5992 GB, free: 9.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.608, allocations: 3.781 kB / 0.5992 GB, free: 9.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.6096, allocations: 0.9442 MB / 0.6001 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.6105, allocations: 406.2 kB / 0.6005 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.615, allocations: 3.629 MB / 0.6041 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6154, allocations: 483.7 kB / 0.6045 GB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008693/0.6162, allocations: 465.5 kB / 0.605 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.6167, allocations: 192.8 kB / 0.6051 GB, free: 6.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6167, allocations: 0 / 0.6051 GB, free: 6.59 MB / 426.7 MB Notification: Performance of Templates: time 0.03885/0.6555, allocations: 36.61 MB / 0.6409 GB, free: 192 kB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.408995248842984]