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.1223/0.1223, allocations: 15.26 MB / 30.21 MB, free: 3.297 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.001567/0.001567, allocations: 181.2 kB / 35.29 MB, free: 2.375 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.361/1.361, allocations: 223.2 MB / 263.4 MB, free: 6.895 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.000905/0.0009049, allocations: 89.83 kB / 318.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8.156 kB / 383.9 MB, free: 50.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.08363, allocations: 54.64 MB / 438.6 MB, free: 500 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4599, allocations: 103.8 MB / 0.5296 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4602, allocations: 69.31 kB / 0.5297 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3484/0.8086, allocations: 138.5 MB / 0.6649 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.8087, allocations: 7.938 kB / 0.6649 GB, free: 2.219 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.8089, allocations: 60 kB / 0.665 GB, free: 2.16 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.01313/0.822, allocations: 3.844 MB / 0.6687 GB, free: 14.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.8221, allocations: 16.02 kB / 0.6687 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.8272, allocations: 1.007 MB / 0.6697 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.8322, allocations: 1.749 MB / 0.6714 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.8325, allocations: 238.2 kB / 0.6717 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.8336, allocations: 311.9 kB / 0.672 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009129/0.8427, allocations: 5.893 MB / 0.6777 GB, free: 4.914 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-05/0.8428, allocations: 3.938 kB / 0.6777 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.8431, allocations: 132 kB / 0.6778 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/0.8432, allocations: 76 kB / 0.6779 GB, free: 4.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2564/1.1, allocations: 8.929 MB / 0.6866 GB, free: 52.5 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.02812/1.128, allocations: 15.87 MB / 0.7021 GB, free: 49.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/1.135, allocations: 6.069 MB / 0.708 GB, free: 48.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.136, allocations: 0.7361 MB / 0.7088 GB, free: 48.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/1.136, allocations: 71.84 kB / 0.7088 GB, free: 48.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=305): time 4.819e-06/1.136, allocations: 0 / 0.7088 GB, free: 48.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=404): time 0.06741/1.204, allocations: 20.67 MB / 0.729 GB, free: 46.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/1.204, allocations: 153.6 kB / 0.7292 GB, free: 46.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/1.208, allocations: 3.015 MB / 0.7321 GB, free: 45.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007832/1.209, allocations: 92.39 kB / 0.7322 GB, free: 45.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/1.21, allocations: 1.239 MB / 0.7334 GB, free: 45.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/1.211, allocations: 1.353 MB / 0.7347 GB, free: 44.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/1.212, allocations: 86 kB / 0.7348 GB, free: 44.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/1.212, allocations: 462.2 kB / 0.7353 GB, free: 44.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/1.215, allocations: 2.832 MB / 0.738 GB, free: 44.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003688/1.219, allocations: 3.391 MB / 0.7413 GB, free: 43.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/1.223, allocations: 3.098 MB / 0.7444 GB, free: 43.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.223, allocations: 6.219 kB / 0.7444 GB, free: 43.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01773/1.241, allocations: 8 MB / 0.7522 GB, free: 40.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.241, allocations: 9.656 kB / 0.7522 GB, free: 40.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.241, allocations: 13.56 kB / 0.7522 GB, free: 40.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009047/1.25, allocations: 1.219 MB / 0.7534 GB, free: 39.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/1.254, allocations: 0.897 MB / 0.7543 GB, free: 39.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/1.271, allocations: 12.93 MB / 0.7669 GB, free: 28.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/1.276, allocations: 178.1 kB / 0.7671 GB, free: 28.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000972/1.277, allocations: 180.1 kB / 0.7672 GB, free: 28.63 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.002325/1.279, allocations: 0.5568 MB / 0.7678 GB, free: 28.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.28, allocations: 281.7 kB / 0.7681 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/1.299, allocations: 6.909 MB / 0.7748 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.158e-05/1.299, allocations: 47.78 kB / 0.7748 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/1.299, allocations: 3.938 kB / 0.7748 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001448/1.299, allocations: 19.22 kB / 0.7749 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.333, allocations: 16.07 MB / 0.7906 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-05/1.333, allocations: 17.88 kB / 0.7906 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003339/1.336, allocations: 0.7017 MB / 0.7913 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008902/1.345, allocations: 1.217 MB / 0.7924 GB, free: 18.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/1.346, allocations: 121.5 kB / 0.7926 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.363, allocations: 12.76 MB / 0.805 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.708e-05/1.363, allocations: 26.48 kB / 0.8051 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02638/1.39, allocations: 11.24 MB / 0.816 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.392, allocations: 424.2 kB / 0.8164 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/1.393, allocations: 93.17 kB / 0.8165 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/1.398, allocations: 151 kB / 0.8167 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/1.399, allocations: 329.7 kB / 0.817 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007764/1.4, allocations: 148.2 kB / 0.8171 GB, free: 40 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003805/1.403, allocations: 2.379 MB / 0.8194 GB, free: 14.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.282e-06/1.403, allocations: 0 / 0.8194 GB, free: 14.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009508/1.413, allocations: 2.338 MB / 0.8217 GB, free: 12.08 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.006841/1.42, allocations: 2.503 MB / 0.8242 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.431, allocations: 6.772 MB / 0.8308 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/1.431, allocations: 3.75 kB / 0.8308 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00572/1.437, allocations: 3.506 MB / 0.8342 GB, free: 1.133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/1.441, allocations: 0.5218 MB / 0.8347 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.455, allocations: 8.494 MB / 0.843 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/1.457, allocations: 1.922 MB / 0.8449 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003283/1.46, allocations: 0.5476 MB / 0.8454 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.461, allocations: 298.3 kB / 0.8457 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.461, allocations: 3.938 kB / 0.8457 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of Templates: time 0.3877/1.849, allocations: 79.38 MB / 0.9232 GB, free: 83.52 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)