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.001227/0.001227, allocations: 105.6 kB / 16.35 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08837/0.08837, allocations: 15.31 MB / 306.5 MB, free: 15.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.78 kB / 371.7 MB, free: 50.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 53.62 MB / 425.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01134/0.1228, allocations: 14.75 MB / 440.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0531/0.176, allocations: 49.08 MB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.1798, allocations: 35.81 kB / 489.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.1837, allocations: 1.101 MB / 490.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.1966, allocations: 3.414 MB / 493.7 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02213/0.2188, allocations: 6.922 MB / 0.4889 GB, free: 1.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007057/0.2259, allocations: 4.502 MB / 0.4933 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.229, allocations: 2.299 MB / 0.4956 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.2323, allocations: 2.057 MB / 0.4976 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.2365, allocations: 2.305 MB / 0.4998 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009241/0.2374, allocations: 384 kB / 0.5002 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02/0.2574, allocations: 5.511 MB / 0.5056 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2435/0.501, allocations: 0.8769 MB / 0.5064 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.5049, allocations: 1.952 MB / 0.5083 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03093/0.5358, allocations: 9.929 MB / 0.518 GB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.5359, allocations: 2.594 kB / 0.518 GB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5359, allocations: 0 / 0.518 GB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001749/0.5361, allocations: 0 / 0.518 GB, free: 11.92 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.01443/0.5505, allocations: 4.675 MB / 0.5226 GB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5506, allocations: 8.719 kB / 0.5226 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.5552, allocations: 0.9266 MB / 0.5235 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.5587, allocations: 1.591 MB / 0.5251 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.5589, allocations: 234.6 kB / 0.5253 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005677/0.5595, allocations: 321.5 kB / 0.5256 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/0.5664, allocations: 4.46 MB / 0.53 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.5665, allocations: 7.312 kB / 0.53 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/0.5668, allocations: 126.1 kB / 0.5301 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.5668, allocations: 73.88 kB / 0.5301 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009101/0.5759, allocations: 6.367 MB / 0.5364 GB, free: 8.855 MB / 382.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.02326/0.5992, allocations: 12.59 MB / 0.5487 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/0.606, allocations: 4.624 MB / 0.5532 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.6081, allocations: 1.305 MB / 0.5544 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01922/0.6273, allocations: 12.16 MB / 0.5663 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.6274, allocations: 48.25 kB / 0.5664 GB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=182): time 3.387e-06/0.6274, allocations: 0 / 0.5664 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=227): time 0.04514/0.6725, allocations: 9.784 MB / 0.5759 GB, free: 8.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.6727, allocations: 132.8 kB / 0.576 GB, free: 8.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/0.6768, allocations: 3.31 MB / 0.5793 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003074/0.6771, allocations: 65.7 kB / 0.5793 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.6782, allocations: 1.582 MB / 0.5809 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007949/0.679, allocations: 0.7939 MB / 0.5817 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.6801, allocations: 0.6914 MB / 0.5823 GB, free: 1.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6802, allocations: 305.1 kB / 0.5826 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.6823, allocations: 1.383 MB / 0.584 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.6854, allocations: 2.481 MB / 0.5864 GB, free: 12.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.6908, allocations: 3.585 MB / 0.5899 GB, free: 9.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.659e-05/0.6908, allocations: 12 kB / 0.5899 GB, free: 9.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01298/0.7038, allocations: 4.978 MB / 0.5948 GB, free: 4.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.7039, allocations: 20 kB / 0.5948 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.541e-05/0.7039, allocations: 32 kB / 0.5948 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/0.7098, allocations: 0.7135 MB / 0.5955 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/0.7134, allocations: 0.8393 MB / 0.5963 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/0.73, allocations: 11.54 MB / 0.6076 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/0.7342, allocations: 124 kB / 0.6077 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000634/0.7349, allocations: 195.9 kB / 0.6079 GB, free: 6.062 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.001586/0.7365, allocations: 0.5401 MB / 0.6084 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008115/0.7373, allocations: 260.7 kB / 0.6087 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.7482, allocations: 3.22 MB / 0.6118 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.7483, allocations: 27.94 kB / 0.6119 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/0.7483, allocations: 4 kB / 0.6119 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.7484, allocations: 11.95 kB / 0.6119 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.7534, allocations: 2.608 MB / 0.6144 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.7534, allocations: 4 kB / 0.6144 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.7552, allocations: 447.9 kB / 0.6149 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005733/0.7609, allocations: 0.6747 MB / 0.6155 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003648/0.7613, allocations: 75.95 kB / 0.6156 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.7765, allocations: 11.29 MB / 0.6266 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.7765, allocations: 7.75 kB / 0.6266 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.7894, allocations: 4.156 MB / 0.6307 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.7909, allocations: 317.8 kB / 0.631 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.7915, allocations: 55.92 kB / 0.631 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.7931, allocations: 48 kB / 0.6311 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/0.7937, allocations: 197.1 kB / 0.6313 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/0.7939, allocations: 99.95 kB / 0.6314 GB, free: 13.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003337/0.7972, allocations: 2.342 MB / 0.6337 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7972, allocations: 0 / 0.6337 GB, free: 10.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008609/0.8059, allocations: 2.081 MB / 0.6357 GB, free: 8.781 MB / 478.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.006093/0.812, allocations: 2.231 MB / 0.6379 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006829/0.8188, allocations: 3.776 MB / 0.6416 GB, free: 3.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8189, allocations: 3.938 kB / 0.6416 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002953/0.8218, allocations: 1.883 MB / 0.6434 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/0.825, allocations: 0.5106 MB / 0.6439 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009367/0.8344, allocations: 5.13 MB / 0.6489 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.836, allocations: 1.717 MB / 0.6506 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002348/0.8383, allocations: 0.6014 MB / 0.6512 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/0.8392, allocations: 406.2 kB / 0.6516 GB, free: 8.793 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/0.8392, allocations: 0 / 0.6516 GB, free: 8.793 MB / 494.1 MB Notification: Performance of Templates: time 0.3431/1.182, allocations: 68.43 MB / 0.7184 GB, free: 195.2 MB / 0.5137 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST.pipe 2>&1)