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.001012/0.001012, allocations: 93.06 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.001146/0.001146, allocations: 173 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 1.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1132/0.1132, allocations: 17.38 MB / 277.3 MB, free: 11.64 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.654e-06/1.654e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.993e-05, allocations: 4.562 kB / 353.4 MB, free: 9.984 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.03095/0.03097, allocations: 32.62 MB / 386 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3212/0.3521, allocations: 142.3 MB / 0.516 GB, free: 10.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.3535, allocations: 27.88 kB / 0.516 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.3558, allocations: 0.9955 MB / 0.5169 GB, free: 9.262 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.3577, allocations: 0.9151 MB / 0.5178 GB, free: 8.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3603, allocations: 1.396 MB / 0.5192 GB, free: 6.938 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3627, allocations: 2.365 MB / 0.5215 GB, free: 4.566 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.3633, allocations: 431.9 kB / 0.5219 GB, free: 4.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.3644, allocations: 1.197 MB / 0.5231 GB, free: 2.898 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.3651, allocations: 0.6856 MB / 0.5238 GB, free: 2.211 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3652, allocations: 212 kB / 0.524 GB, free: 2.004 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.3671, allocations: 1.154 MB / 0.5251 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.3674, allocations: 0.6697 MB / 0.5257 GB, free: 180 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.3679, allocations: 0.7207 MB / 0.5265 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.3706, allocations: 3.15 MB / 0.5295 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3706, allocations: 0 / 0.5295 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3706, allocations: 0 / 0.5295 GB, free: 12.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.3706, allocations: 4 kB / 0.5295 GB, free: 12.29 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.003125/0.3737, allocations: 2.922 MB / 0.5324 GB, free: 9.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3738, allocations: 8.031 kB / 0.5324 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3751, allocations: 1.047 MB / 0.5334 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.3761, allocations: 1.033 MB / 0.5344 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.3764, allocations: 359.3 kB / 0.5348 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.3765, allocations: 204.2 kB / 0.535 GB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.3794, allocations: 2.982 MB / 0.5379 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3795, allocations: 8.125 kB / 0.5379 GB, free: 3.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3796, allocations: 80.36 kB / 0.538 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002602/0.3798, allocations: 344.5 kB / 0.5383 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.3836, allocations: 3.667 MB / 0.5419 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.3953, allocations: 11.68 MB / 0.5533 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3968, allocations: 0.5421 MB / 0.5538 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.3975, allocations: 277.5 kB / 0.5541 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008018/0.3983, allocations: 0.5671 MB / 0.5546 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3984, allocations: 48.67 kB / 0.5547 GB, free: 2.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/0.3984, allocations: 0 / 0.5547 GB, free: 2.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.2432/0.6416, allocations: 4.608 MB / 0.5592 GB, free: 32.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002409/0.644, allocations: 2.605 MB / 0.5617 GB, free: 30.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.6457, allocations: 1.15 MB / 0.5628 GB, free: 30.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.6459, allocations: 43.14 kB / 0.5629 GB, free: 30.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/0.6467, allocations: 1.217 MB / 0.5641 GB, free: 29.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.6471, allocations: 363 kB / 0.5644 GB, free: 29.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/0.648, allocations: 366.7 kB / 0.5648 GB, free: 29.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6481, allocations: 0.5119 MB / 0.5653 GB, free: 29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.6493, allocations: 331.7 kB / 0.5656 GB, free: 29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.6505, allocations: 0.615 MB / 0.5662 GB, free: 28.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.6534, allocations: 1.244 MB / 0.5674 GB, free: 28.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6534, allocations: 2.719 kB / 0.5674 GB, free: 28.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004153/0.6576, allocations: 1.547 MB / 0.5689 GB, free: 28.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.6576, allocations: 8.656 kB / 0.5689 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6576, allocations: 7.906 kB / 0.5689 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.6583, allocations: 264.8 kB / 0.5692 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/0.664, allocations: 1.072 MB / 0.5702 GB, free: 28.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.6687, allocations: 7.294 MB / 0.5773 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.6698, allocations: 48.41 kB / 0.5774 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.6702, allocations: 285.3 kB / 0.5777 GB, free: 21.86 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.0009732/0.6712, allocations: 227.5 kB / 0.5779 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000553/0.6718, allocations: 166.3 kB / 0.578 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.6763, allocations: 2.545 MB / 0.5805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6763, allocations: 13.78 kB / 0.5805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6763, allocations: 3.594 kB / 0.5805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6764, allocations: 2.906 kB / 0.5805 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/0.6833, allocations: 4.564 MB / 0.585 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6833, allocations: 6.5 kB / 0.585 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/0.6868, allocations: 488.2 kB / 0.5855 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000941/0.6877, allocations: 228.1 kB / 0.5857 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.6878, allocations: 26.48 kB / 0.5857 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.6918, allocations: 7.83 MB / 0.5934 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001573/0.6934, allocations: 2.199 MB / 0.5955 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.696, allocations: 1.361 MB / 0.5968 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.6962, allocations: 143.4 kB / 0.597 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.6965, allocations: 26.52 kB / 0.597 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.697, allocations: 36.78 kB / 0.597 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.6972, allocations: 90.06 kB / 0.5971 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.6972, allocations: 33.84 kB / 0.5972 GB, free: 10.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001662/0.6989, allocations: 1.44 MB / 0.5986 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6989, allocations: 0.625 kB / 0.5986 GB, free: 10.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00206/0.701, allocations: 0.6511 MB / 0.5992 GB, free: 10.44 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.0006115/0.7016, allocations: 408.6 kB / 0.5996 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.705, allocations: 1.45 MB / 0.601 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.705, allocations: 0 / 0.601 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.7071, allocations: 1.041 MB / 0.602 GB, free: 9.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.7085, allocations: 426.7 kB / 0.6024 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.7146, allocations: 3.822 MB / 0.6062 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.7151, allocations: 490.4 kB / 0.6066 GB, free: 7.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001089/0.7161, allocations: 355.1 kB / 0.607 GB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.7168, allocations: 196.7 kB / 0.6072 GB, free: 7.125 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.7168, allocations: 2.594 kB / 0.6072 GB, free: 7.125 MB / 426.7 MB Notification: Performance of Templates: time 0.07068/0.7875, allocations: 61.99 MB / 0.6677 GB, free: 7.41 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.948100665118545]