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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.0007966, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 182.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2047/0.2047, allocations: 15.27 MB / 307.4 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 8 kB / 372.7 MB, free: 3.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 54.63 MB / 427.4 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01237/0.3286, allocations: 16.65 MB / 444 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04785/0.3765, allocations: 48.51 MB / 492.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.3804, allocations: 69.81 kB / 492.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.384, allocations: 0.9968 MB / 493.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.3971, allocations: 3.003 MB / 496.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02261/0.4198, allocations: 6.078 MB / 0.4909 GB, free: 5.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00808/0.4279, allocations: 4.278 MB / 0.4951 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.4312, allocations: 1.879 MB / 0.4969 GB, free: 2.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.4348, allocations: 1.921 MB / 0.4988 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.4384, allocations: 2.133 MB / 0.5009 GB, free: 240 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005544/0.439, allocations: 200 kB / 0.5011 GB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01889/0.4579, allocations: 5.361 MB / 0.5063 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.4593, allocations: 0.6965 MB / 0.507 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.4621, allocations: 1.786 MB / 0.5087 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.4744, allocations: 7.185 MB / 0.5157 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4744, allocations: 4 kB / 0.5157 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4744, allocations: 4 kB / 0.5157 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.036e-05/0.4745, allocations: 0 / 0.5157 GB, free: 0.9453 MB / 382.1 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.007607/0.4821, allocations: 3.888 MB / 0.5195 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4822, allocations: 11.97 kB / 0.5196 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/0.4861, allocations: 0.922 MB / 0.5205 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.4885, allocations: 1.493 MB / 0.5219 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.4887, allocations: 238.6 kB / 0.5221 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006045/0.4893, allocations: 328.1 kB / 0.5225 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006625/0.496, allocations: 4.461 MB / 0.5268 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.496, allocations: 4 kB / 0.5268 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.4963, allocations: 124 kB / 0.5269 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/0.4964, allocations: 76 kB / 0.527 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/0.5051, allocations: 6.364 MB / 0.5332 GB, free: 14.83 MB / 414.1 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.02004/0.5252, allocations: 12.53 MB / 0.5455 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006758/0.532, allocations: 4.618 MB / 0.55 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.534, allocations: 1.312 MB / 0.5512 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/0.5496, allocations: 11.92 MB / 0.5629 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.5497, allocations: 60.25 kB / 0.5629 GB, free: 14.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=182): time 4.098e-06/0.5497, allocations: 0 / 0.5629 GB, free: 14.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=227): time 0.04545/0.5951, allocations: 9.906 MB / 0.5726 GB, free: 4.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.5952, allocations: 128.8 kB / 0.5727 GB, free: 4.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.5992, allocations: 3.311 MB / 0.576 GB, free: 0.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.5996, allocations: 65.7 kB / 0.576 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2361/0.8357, allocations: 1.592 MB / 0.5776 GB, free: 118.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.8367, allocations: 0.7937 MB / 0.5784 GB, free: 118.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/0.8373, allocations: 280.5 kB / 0.5786 GB, free: 118.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.389e-05/0.8373, allocations: 302 kB / 0.5789 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.8394, allocations: 1.382 MB / 0.5803 GB, free: 118.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.842, allocations: 2.481 MB / 0.5827 GB, free: 116.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/0.8467, allocations: 3.584 MB / 0.5862 GB, free: 115.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/0.8467, allocations: 16.38 kB / 0.5862 GB, free: 115.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01345/0.8602, allocations: 5.006 MB / 0.5911 GB, free: 113.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.8603, allocations: 21.75 kB / 0.5911 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-05/0.8603, allocations: 36.41 kB / 0.5912 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/0.8668, allocations: 0.7467 MB / 0.5919 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.8699, allocations: 0.8419 MB / 0.5927 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.885, allocations: 10.5 MB / 0.603 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/0.8889, allocations: 190.5 kB / 0.6031 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005314/0.8895, allocations: 197.1 kB / 0.6033 GB, free: 103.9 MB / 446.1 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.001287/0.8907, allocations: 0.5488 MB / 0.6039 GB, free: 103.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.8913, allocations: 262.4 kB / 0.6041 GB, free: 103.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.9028, allocations: 3.259 MB / 0.6073 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.9029, allocations: 24.28 kB / 0.6073 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.9029, allocations: 2.344 kB / 0.6073 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.576e-05/0.903, allocations: 13.97 kB / 0.6073 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004769/0.9078, allocations: 2.595 MB / 0.6099 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.9078, allocations: 3.094 kB / 0.6099 GB, free: 101.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.9098, allocations: 449.4 kB / 0.6103 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006365/0.9161, allocations: 0.7079 MB / 0.611 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/0.9166, allocations: 83.83 kB / 0.6111 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/0.9302, allocations: 10.23 MB / 0.6211 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9303, allocations: 4.125 kB / 0.6211 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.9458, allocations: 4.198 MB / 0.6252 GB, free: 89.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.947, allocations: 368.7 kB / 0.6255 GB, free: 89.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000661/0.9477, allocations: 53.33 kB / 0.6256 GB, free: 89.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.9495, allocations: 86.11 kB / 0.6256 GB, free: 89.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006218/0.9502, allocations: 198.2 kB / 0.6258 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/0.9504, allocations: 94.25 kB / 0.6259 GB, free: 89.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003289/0.9537, allocations: 2.343 MB / 0.6282 GB, free: 88.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9537, allocations: 0 / 0.6282 GB, free: 88.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00875/0.9625, allocations: 2.066 MB / 0.6302 GB, free: 87.99 MB / 446.1 MB 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.006017/0.9685, allocations: 2.23 MB / 0.6324 GB, free: 87.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.9761, allocations: 3.761 MB / 0.6361 GB, free: 85.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.9762, allocations: 0 / 0.6361 GB, free: 85.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.9793, allocations: 1.887 MB / 0.6379 GB, free: 84.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/0.9834, allocations: 482.2 kB / 0.6384 GB, free: 84.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00947/0.9929, allocations: 6.671 MB / 0.6449 GB, free: 80.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.9944, allocations: 1.722 MB / 0.6466 GB, free: 79.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/0.9959, allocations: 0.5138 MB / 0.6471 GB, free: 78.76 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.9959, allocations: 0 / 0.6471 GB, free: 78.76 MB / 446.1 MB Notification: Performance of Templates: time 0.3262/1.322, allocations: 121.2 MB / 0.7654 GB, free: 141.7 MB / 478.1 MB 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)