Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07518/0.07518, allocations: 15.28 MB / 31.09 MB, free: 3.105 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 197.1 kB / 36.14 MB, free: 2.141 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 264 MB, free: 5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 99.7 kB / 318.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009671/0.0009671, allocations: 54.95 kB / 382.7 MB, free: 48.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07609, allocations: 53.61 MB / 436.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01458/0.0907, allocations: 17.25 MB / 453.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04794/0.1387, allocations: 48.71 MB / 0.4905 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.1419, allocations: 75.44 kB / 0.4906 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.145, allocations: 0.9978 MB / 0.4916 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009066/0.1541, allocations: 2.915 MB / 0.4944 GB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01688/0.171, allocations: 6.072 MB / 0.5003 GB, free: 4.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00556/0.1766, allocations: 4.321 MB / 0.5046 GB, free: 388 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2004/0.377, allocations: 1.955 MB / 0.5065 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.3804, allocations: 2.014 MB / 0.5084 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.3837, allocations: 2.233 MB / 0.5106 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008601/0.3846, allocations: 243.9 kB / 0.5108 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01669/0.4013, allocations: 5.286 MB / 0.516 GB, free: 6.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.403, allocations: 0.7617 MB / 0.5168 GB, free: 6.855 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003286/0.4063, allocations: 1.826 MB / 0.5185 GB, free: 6.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0219/0.4283, allocations: 9.178 MB / 0.5275 GB, free: 5.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4283, allocations: 2.812 kB / 0.5275 GB, free: 5.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4283, allocations: 2.719 kB / 0.5275 GB, free: 5.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.4285, allocations: 0 / 0.5275 GB, free: 5.535 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.009089/0.4376, allocations: 4.651 MB / 0.532 GB, free: 3.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4376, allocations: 15.69 kB / 0.5321 GB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.441, allocations: 0.9116 MB / 0.533 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.4433, allocations: 1.54 MB / 0.5345 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.4434, allocations: 239.8 kB / 0.5347 GB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.4439, allocations: 320.3 kB / 0.535 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/0.4491, allocations: 4.454 MB / 0.5393 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.4492, allocations: 11.62 kB / 0.5393 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.4494, allocations: 129 kB / 0.5395 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.4495, allocations: 76.94 kB / 0.5395 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/0.4564, allocations: 6.364 MB / 0.5458 GB, free: 2.488 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.4743, allocations: 12.64 MB / 0.5581 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006196/0.4805, allocations: 4.623 MB / 0.5626 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.4823, allocations: 1.311 MB / 0.5639 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.4982, allocations: 12.19 MB / 0.5758 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4983, allocations: 52.25 kB / 0.5759 GB, free: 5.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 4.167e-06/0.4983, allocations: 1.406 kB / 0.5759 GB, free: 5.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=227): time 0.04171/0.54, allocations: 9.77 MB / 0.5854 GB, free: 11.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.5402, allocations: 128.8 kB / 0.5855 GB, free: 11.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.5442, allocations: 3.314 MB / 0.5888 GB, free: 8.363 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.5447, allocations: 65.7 kB / 0.5888 GB, free: 8.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.5457, allocations: 1.589 MB / 0.5904 GB, free: 6.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008086/0.5465, allocations: 0.7938 MB / 0.5911 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009659/0.5475, allocations: 0.6875 MB / 0.5918 GB, free: 5.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.5476, allocations: 305.1 kB / 0.5921 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.5496, allocations: 1.381 MB / 0.5935 GB, free: 3.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.5522, allocations: 2.484 MB / 0.5959 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/0.5568, allocations: 3.588 MB / 0.5994 GB, free: 12.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.5568, allocations: 8 kB / 0.5994 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01235/0.5691, allocations: 4.972 MB / 0.6042 GB, free: 7.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.5692, allocations: 20 kB / 0.6043 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-05/0.5693, allocations: 40.19 kB / 0.6043 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/0.5749, allocations: 0.7216 MB / 0.605 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.578, allocations: 0.8295 MB / 0.6058 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.5926, allocations: 10.43 MB / 0.616 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/0.5961, allocations: 191.7 kB / 0.6162 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006075/0.5967, allocations: 199.9 kB / 0.6164 GB, free: 10.76 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.5981, allocations: 0.5415 MB / 0.6169 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/0.5988, allocations: 256.8 kB / 0.6171 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.6093, allocations: 3.223 MB / 0.6203 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/0.6094, allocations: 27.94 kB / 0.6203 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.6094, allocations: 8.078 kB / 0.6203 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/0.6094, allocations: 15.94 kB / 0.6203 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.6138, allocations: 2.6 MB / 0.6229 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6138, allocations: 4 kB / 0.6229 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.6155, allocations: 451 kB / 0.6233 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/0.6208, allocations: 0.6681 MB / 0.624 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.6213, allocations: 79.95 kB / 0.624 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.6343, allocations: 10.16 MB / 0.634 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6343, allocations: 7.969 kB / 0.634 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0541/0.6884, allocations: 20.7 MB / 0.6542 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.689, allocations: 321.7 kB / 0.6545 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.6893, allocations: 52 kB / 0.6546 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.6908, allocations: 83.88 kB / 0.6546 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/0.6913, allocations: 200.8 kB / 0.6548 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.6914, allocations: 91.95 kB / 0.6549 GB, free: 1.977 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002505/0.6939, allocations: 2.342 MB / 0.6572 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6939, allocations: 0 / 0.6572 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007414/0.7014, allocations: 2.44 MB / 0.6596 GB, free: 13.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_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 (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005623/0.707, allocations: 2.192 MB / 0.6617 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006451/0.7135, allocations: 3.761 MB / 0.6654 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7136, allocations: 0 / 0.6654 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.7163, allocations: 1.882 MB / 0.6672 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.7191, allocations: 479 kB / 0.6677 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.7291, allocations: 8.076 MB / 0.6756 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.7304, allocations: 1.795 MB / 0.6773 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002856/0.7333, allocations: 0.6446 MB / 0.678 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.7342, allocations: 418.1 kB / 0.6784 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/0.7342, allocations: 0 / 0.6784 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.2809/1.015, allocations: 73.23 MB / 0.7499 GB, free: 153.9 MB / 0.5105 GB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST.sim & ./Chemical_Chemical.Examples.GasSolubility_NIST -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)