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.001215/0.001215, allocations: 93.06 kB / 19.65 MB, free: 280 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.001299/0.001299, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.162/1.162, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.09292/0.09292, allocations: 17.38 MB / 277.3 MB, free: 11.63 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.291e-05, allocations: 9.062 kB / 353.4 MB, free: 9.977 MB / 282.7 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.02663/0.02665, allocations: 32.63 MB / 386 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2804/0.307, allocations: 142.3 MB / 0.5159 GB, free: 10.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3085, allocations: 27.88 kB / 0.516 GB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.3111, allocations: 1.007 MB / 0.517 GB, free: 9.207 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.313, allocations: 0.9034 MB / 0.5178 GB, free: 8.297 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.3158, allocations: 1.388 MB / 0.5192 GB, free: 6.902 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.3181, allocations: 2.383 MB / 0.5215 GB, free: 4.516 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.3187, allocations: 423.9 kB / 0.5219 GB, free: 4.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3198, allocations: 1.197 MB / 0.5231 GB, free: 2.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.3206, allocations: 0.6856 MB / 0.5238 GB, free: 2.168 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.3208, allocations: 216 kB / 0.524 GB, free: 1.957 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.323, allocations: 1.15 MB / 0.5251 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.3234, allocations: 0.6697 MB / 0.5257 GB, free: 136 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.3241, allocations: 0.7286 MB / 0.5265 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.3273, allocations: 3.146 MB / 0.5295 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3273, allocations: 4 kB / 0.5295 GB, free: 12.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3273, allocations: 0 / 0.5295 GB, free: 12.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3273, allocations: 3.938 kB / 0.5295 GB, free: 12.23 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.003407/0.3307, allocations: 2.922 MB / 0.5324 GB, free: 9.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3308, allocations: 12.03 kB / 0.5324 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.3324, allocations: 1.047 MB / 0.5334 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.3336, allocations: 1.029 MB / 0.5344 GB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.3339, allocations: 371.2 kB / 0.5348 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.3342, allocations: 192.3 kB / 0.535 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.338, allocations: 2.98 MB / 0.5379 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.338, allocations: 4.125 kB / 0.5379 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3381, allocations: 80.36 kB / 0.538 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/0.3385, allocations: 340.5 kB / 0.5383 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.3433, allocations: 3.675 MB / 0.5419 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3603, allocations: 11.68 MB / 0.5533 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.3619, allocations: 0.5389 MB / 0.5538 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007912/0.3627, allocations: 284.2 kB / 0.5541 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008229/0.3636, allocations: 0.5632 MB / 0.5546 GB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3636, allocations: 49.98 kB / 0.5547 GB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.3636, allocations: 0 / 0.5547 GB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.2529/0.6165, allocations: 4.618 MB / 0.5592 GB, free: 32.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002476/0.6189, allocations: 2.6 MB / 0.5617 GB, free: 30.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.6206, allocations: 1.148 MB / 0.5628 GB, free: 30.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.6209, allocations: 43.55 kB / 0.5629 GB, free: 30.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000821/0.6217, allocations: 1.217 MB / 0.5641 GB, free: 29.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.6221, allocations: 366.6 kB / 0.5644 GB, free: 29.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009117/0.623, allocations: 370.6 kB / 0.5648 GB, free: 29.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6231, allocations: 0.5117 MB / 0.5653 GB, free: 29.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.6244, allocations: 331.7 kB / 0.5656 GB, free: 29.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.6257, allocations: 0.6112 MB / 0.5662 GB, free: 28.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.6286, allocations: 1.248 MB / 0.5674 GB, free: 28.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.6286, allocations: 2.188 kB / 0.5674 GB, free: 28.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003804/0.6325, allocations: 1.539 MB / 0.5689 GB, free: 28.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6325, allocations: 8.484 kB / 0.5689 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6325, allocations: 6.75 kB / 0.5689 GB, free: 28.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.633, allocations: 271.3 kB / 0.5692 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004492/0.6375, allocations: 1.072 MB / 0.5702 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.6415, allocations: 7.296 MB / 0.5774 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009543/0.6424, allocations: 51.33 kB / 0.5774 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.6428, allocations: 283.2 kB / 0.5777 GB, free: 22.01 MB / 426.7 MB 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.001018/0.6438, allocations: 229 kB / 0.5779 GB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.6442, allocations: 165.7 kB / 0.5781 GB, free: 21.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.6481, allocations: 2.542 MB / 0.5805 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6481, allocations: 14.69 kB / 0.5805 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6481, allocations: 1.688 kB / 0.5806 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6481, allocations: 7.562 kB / 0.5806 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006636/0.6547, allocations: 4.561 MB / 0.585 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.6547, allocations: 9.594 kB / 0.585 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/0.6575, allocations: 487 kB / 0.5855 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.6583, allocations: 222.7 kB / 0.5857 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/0.6584, allocations: 26.92 kB / 0.5857 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.6622, allocations: 7.833 MB / 0.5934 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00144/0.6637, allocations: 2.197 MB / 0.5955 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.6663, allocations: 1.365 MB / 0.5969 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.6666, allocations: 140.3 kB / 0.597 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6668, allocations: 29 kB / 0.597 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.6672, allocations: 35.56 kB / 0.597 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.6675, allocations: 90.8 kB / 0.5971 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.6675, allocations: 38.53 kB / 0.5972 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.6691, allocations: 1.44 MB / 0.5986 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6691, allocations: 0.5938 kB / 0.5986 GB, free: 10.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002049/0.6711, allocations: 0.6582 MB / 0.5992 GB, free: 10.59 MB / 426.7 MB 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.0007147/0.6718, allocations: 403.2 kB / 0.5996 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.675, allocations: 1.45 MB / 0.601 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.675, allocations: 0.5625 kB / 0.601 GB, free: 9.945 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.6768, allocations: 1.039 MB / 0.602 GB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6779, allocations: 426.8 kB / 0.6024 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.6833, allocations: 3.819 MB / 0.6062 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.6838, allocations: 491.8 kB / 0.6066 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009013/0.6847, allocations: 355.5 kB / 0.607 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.6853, allocations: 196 kB / 0.6072 GB, free: 7.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6853, allocations: 0 / 0.6072 GB, free: 7.273 MB / 426.7 MB Notification: Performance of Templates: time 0.05985/0.7451, allocations: 55.39 MB / 0.6613 GB, free: 14.02 MB / 474.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.843210035935044]