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.08653/0.08653, allocations: 15.26 MB / 31.21 MB, free: 3.227 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.001262/0.001262, allocations: 182.1 kB / 36.29 MB, free: 2.266 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.524/1.524, allocations: 223.3 MB / 264.5 MB, free: 6.191 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.0008269/0.0008269, allocations: 87.77 kB / 319.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003775, allocations: 11.41 kB / 385.2 MB, free: 50.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 54.64 MB / 439.8 MB, free: 68 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5842, allocations: 103.8 MB / 0.5309 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5844, allocations: 74.75 kB / 0.5309 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3514/0.9358, allocations: 137.9 MB / 0.6656 GB, free: 2.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.909e-06/0.9359, allocations: 4 kB / 0.6656 GB, free: 2.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003642/0.9363, allocations: 67.98 kB / 0.6656 GB, free: 2.332 MB / 458.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.01274/0.949, allocations: 3.823 MB / 0.6694 GB, free: 14.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.9491, allocations: 8.875 kB / 0.6694 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.9543, allocations: 1.012 MB / 0.6704 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/0.9596, allocations: 1.8 MB / 0.6721 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.96, allocations: 238.6 kB / 0.6723 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.9614, allocations: 316.3 kB / 0.6726 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.9738, allocations: 5.921 MB / 0.6784 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.974, allocations: 192 / 0.6784 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008867/0.9749, allocations: 131.9 kB / 0.6785 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.27e-05/0.975, allocations: 76 kB / 0.6786 GB, free: 4.824 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3139/1.289, allocations: 8.937 MB / 0.6873 GB, free: 53.41 MB / 474.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.02809/1.317, allocations: 15.86 MB / 0.7028 GB, free: 50.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007571/1.325, allocations: 6.074 MB / 0.7088 GB, free: 49.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/1.327, allocations: 2.238 MB / 0.711 GB, free: 49.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.328, allocations: 0.7336 MB / 0.7117 GB, free: 49.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.328, allocations: 69.41 kB / 0.7117 GB, free: 49.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 4.499e-06/1.328, allocations: 0 / 0.7117 GB, free: 49.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.06236/1.391, allocations: 20.68 MB / 0.7319 GB, free: 47.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/1.391, allocations: 151.2 kB / 0.7321 GB, free: 46.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/1.395, allocations: 3.226 MB / 0.7352 GB, free: 46.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000778/1.395, allocations: 91.64 kB / 0.7353 GB, free: 46.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008546/1.396, allocations: 1.232 MB / 0.7365 GB, free: 46.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001593/1.398, allocations: 1.351 MB / 0.7378 GB, free: 45.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/1.398, allocations: 87.09 kB / 0.7379 GB, free: 45.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002165/1.398, allocations: 470.3 kB / 0.7384 GB, free: 45.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.402, allocations: 2.833 MB / 0.7411 GB, free: 45.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.406, allocations: 3.417 MB / 0.7445 GB, free: 44.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/1.413, allocations: 5.913 MB / 0.7502 GB, free: 41.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/1.413, allocations: 3.625 kB / 0.7502 GB, free: 41.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01708/1.43, allocations: 8.009 MB / 0.7581 GB, free: 38.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/1.43, allocations: 9.906 kB / 0.7581 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.43, allocations: 12.41 kB / 0.7581 GB, free: 38.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007884/1.438, allocations: 1.215 MB / 0.7593 GB, free: 38.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004486/1.442, allocations: 0.8965 MB / 0.7602 GB, free: 38.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.459, allocations: 12.81 MB / 0.7727 GB, free: 27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004452/1.464, allocations: 177 kB / 0.7728 GB, free: 26.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/1.465, allocations: 182.9 kB / 0.773 GB, free: 26.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (497): * Single equations (assignments): 488 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001788/1.466, allocations: 0.5587 MB / 0.7735 GB, free: 26.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/1.467, allocations: 281.4 kB / 0.7738 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.483, allocations: 6.891 MB / 0.7805 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.483, allocations: 41.56 kB / 0.7806 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.483, allocations: 13.55 kB / 0.7806 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.777e-05/1.483, allocations: 18.98 kB / 0.7806 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02708/1.51, allocations: 16.07 MB / 0.7963 GB, free: 16.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/1.51, allocations: 15.12 kB / 0.7963 GB, free: 16.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/1.513, allocations: 0.713 MB / 0.797 GB, free: 16.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007733/1.521, allocations: 1.21 MB / 0.7982 GB, free: 16.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008646/1.522, allocations: 118 kB / 0.7983 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/1.537, allocations: 12.67 MB / 0.8107 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.537, allocations: 26.81 kB / 0.8107 GB, free: 5.293 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/1.563, allocations: 10.56 MB / 0.821 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.565, allocations: 425.3 kB / 0.8214 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.566, allocations: 95.8 kB / 0.8215 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/1.568, allocations: 146.2 kB / 0.8217 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/1.569, allocations: 330.8 kB / 0.822 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/1.569, allocations: 146.9 kB / 0.8221 GB, free: 14.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003128/1.573, allocations: 2.379 MB / 0.8244 GB, free: 12.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.463e-06/1.573, allocations: 0 / 0.8244 GB, free: 12.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009391/1.582, allocations: 2.34 MB / 0.8267 GB, free: 10.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 63 * 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 (410): * Single equations (assignments): 401 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 3,1 6,1 3,1 6,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006301/1.588, allocations: 2.501 MB / 0.8292 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01308/1.601, allocations: 6.763 MB / 0.8358 GB, free: 3.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.39e-05/1.602, allocations: 7.938 kB / 0.8358 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007379/1.609, allocations: 3.515 MB / 0.8392 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00967/1.619, allocations: 0.5918 MB / 0.8398 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.636, allocations: 8.504 MB / 0.8481 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/1.639, allocations: 1.855 MB / 0.8499 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003927/1.643, allocations: 0.5545 MB / 0.8504 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.645, allocations: 298.7 kB / 0.8507 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/1.645, allocations: 0 / 0.8507 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of Templates: time 0.3853/2.03, allocations: 81.03 MB / 0.9299 GB, free: 85.26 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)