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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001707/0.001707, allocations: 192.1 kB / 16.14 MB, free: 6.703 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2286/0.2286, allocations: 15.31 MB / 305.3 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 55.91 kB / 369.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1123, allocations: 53.62 MB / 423.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.2381/0.3504, allocations: 17.24 MB / 440.5 MB, free: 42.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04277/0.3932, allocations: 49.07 MB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.3967, allocations: 76.53 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.4001, allocations: 1.001 MB / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.4114, allocations: 2.993 MB / 493.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02582/0.4372, allocations: 6.074 MB / 499.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008078/0.4454, allocations: 4.273 MB / 0.4922 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.4491, allocations: 1.971 MB / 0.4941 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.4539, allocations: 2.006 MB / 0.4961 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005073/0.459, allocations: 2.245 MB / 0.4982 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.4607, allocations: 242.9 kB / 0.4985 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0224/0.4831, allocations: 5.403 MB / 0.5038 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00212/0.4853, allocations: 0.7627 MB / 0.5045 GB, free: 1.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003995/0.4893, allocations: 1.829 MB / 0.5063 GB, free: 208 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03245/0.5218, allocations: 9.281 MB / 0.5153 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5218, allocations: 0 / 0.5153 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5218, allocations: 0 / 0.5153 GB, free: 7.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.522, allocations: 0 / 0.5153 GB, free: 7.793 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.009966/0.532, allocations: 4.679 MB / 0.5199 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.532, allocations: 8.031 kB / 0.5199 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.5362, allocations: 0.9272 MB / 0.5208 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.5389, allocations: 1.54 MB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.5391, allocations: 234.6 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006967/0.5398, allocations: 316.2 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007726/0.5476, allocations: 4.464 MB / 0.5272 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.327e-05/0.5476, allocations: 0 / 0.5272 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.548, allocations: 128 kB / 0.5273 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.548, allocations: 75.98 kB / 0.5274 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009712/0.5578, allocations: 6.368 MB / 0.5336 GB, free: 4.844 MB / 398.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.0252/0.583, allocations: 12.65 MB / 0.546 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007901/0.5909, allocations: 4.616 MB / 0.5505 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/0.5938, allocations: 1.312 MB / 0.5518 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02113/0.615, allocations: 12.19 MB / 0.5637 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.6151, allocations: 56.19 kB / 0.5637 GB, free: 4.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 4.759e-06/0.6151, allocations: 0 / 0.5637 GB, free: 4.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04883/0.6639, allocations: 9.765 MB / 0.5733 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.664, allocations: 128.7 kB / 0.5734 GB, free: 9.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/0.6685, allocations: 3.318 MB / 0.5766 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004108/0.6689, allocations: 65.7 kB / 0.5767 GB, free: 6.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.6701, allocations: 1.585 MB / 0.5782 GB, free: 4.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009063/0.671, allocations: 0.8051 MB / 0.579 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.6722, allocations: 0.6835 MB / 0.5797 GB, free: 3.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6723, allocations: 305.1 kB / 0.58 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.6746, allocations: 1.381 MB / 0.5813 GB, free: 1.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.6783, allocations: 2.48 MB / 0.5838 GB, free: 14.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/0.684, allocations: 3.588 MB / 0.5873 GB, free: 10.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-05/0.6841, allocations: 8 kB / 0.5873 GB, free: 10.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01549/0.6996, allocations: 4.971 MB / 0.5921 GB, free: 5.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.6997, allocations: 27.97 kB / 0.5921 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/0.6998, allocations: 36 kB / 0.5922 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006142/0.7059, allocations: 0.7035 MB / 0.5929 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.7092, allocations: 0.8424 MB / 0.5937 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2288/0.938, allocations: 10.42 MB / 0.6039 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.9416, allocations: 191.8 kB / 0.6041 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/0.9422, allocations: 197 kB / 0.6042 GB, free: 122.9 MB / 462.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.001453/0.9437, allocations: 0.5478 MB / 0.6048 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/0.9445, allocations: 256.8 kB / 0.605 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.9555, allocations: 3.222 MB / 0.6082 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.9556, allocations: 22.91 kB / 0.6082 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.9556, allocations: 3.219 kB / 0.6082 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/0.9557, allocations: 12.61 kB / 0.6082 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.9598, allocations: 2.603 MB / 0.6107 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.9599, allocations: 5.969 kB / 0.6108 GB, free: 121.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.9615, allocations: 445.8 kB / 0.6112 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/0.9671, allocations: 0.6733 MB / 0.6118 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/0.9676, allocations: 81.8 kB / 0.6119 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.9801, allocations: 10.15 MB / 0.6218 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.9802, allocations: 12.25 kB / 0.6218 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.9918, allocations: 4.151 MB / 0.6259 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.9928, allocations: 320.5 kB / 0.6262 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007119/0.9935, allocations: 54.36 kB / 0.6262 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.9954, allocations: 84.83 kB / 0.6263 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/0.9959, allocations: 199 kB / 0.6265 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/0.996, allocations: 92.23 kB / 0.6266 GB, free: 110.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.9984, allocations: 2.34 MB / 0.6289 GB, free: 109.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.9984, allocations: 0 / 0.6289 GB, free: 109.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007118/1.006, allocations: 2.07 MB / 0.6309 GB, free: 109.1 MB / 462.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.005379/1.011, allocations: 2.235 MB / 0.6331 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007165/1.018, allocations: 3.762 MB / 0.6368 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.018, allocations: 3.469 kB / 0.6368 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.022, allocations: 1.874 MB / 0.6386 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.025, allocations: 487.9 kB / 0.6391 GB, free: 105.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.036, allocations: 6.494 MB / 0.6454 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/1.038, allocations: 1.719 MB / 0.6471 GB, free: 101.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003371/1.041, allocations: 0.6082 MB / 0.6477 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.042, allocations: 405.7 kB / 0.6481 GB, free: 101 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/1.042, allocations: 4 kB / 0.6481 GB, free: 101 MB / 462.1 MB Notification: Performance of Templates: time 0.09265/1.135, allocations: 66.06 MB / 0.7126 GB, free: 51.12 MB / 462.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)