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.1108/0.1108, allocations: 15.25 MB / 27.81 MB, free: 5.406 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.001115/0.001115, allocations: 184.4 kB / 32.7 MB, free: 0.5273 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.439/1.439, allocations: 221.4 MB / 258.8 MB, free: 12 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009018, allocations: 105.6 kB / 314 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.52e-05, allocations: 7.984 kB / 376.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3358, allocations: 54.61 MB / 431.1 MB, free: 50.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.467, allocations: 103.7 MB / 0.5222 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4673, allocations: 63.97 kB / 0.5223 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.861/1.328, allocations: 138 MB / 0.6571 GB, free: 76.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.377e-06/1.328, allocations: 4 kB / 0.6571 GB, free: 76.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001785/1.329, allocations: 67.92 kB / 0.6571 GB, free: 76.16 MB / 442.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.01323/1.342, allocations: 3.613 MB / 0.6606 GB, free: 72.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.342, allocations: 12.03 kB / 0.6607 GB, free: 72.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00706/1.349, allocations: 1.023 MB / 0.6617 GB, free: 71.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/1.355, allocations: 1.743 MB / 0.6634 GB, free: 69.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/1.355, allocations: 238.1 kB / 0.6636 GB, free: 69.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/1.357, allocations: 323.8 kB / 0.6639 GB, free: 69.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/1.37, allocations: 5.828 MB / 0.6696 GB, free: 63.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/1.37, allocations: 3.938 kB / 0.6696 GB, free: 63.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007878/1.371, allocations: 128 kB / 0.6697 GB, free: 63.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/1.371, allocations: 76 kB / 0.6698 GB, free: 63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/1.387, allocations: 8.833 MB / 0.6784 GB, free: 54.14 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03619/1.423, allocations: 15.87 MB / 0.6939 GB, free: 37.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/1.434, allocations: 6.026 MB / 0.6998 GB, free: 31.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004062/1.438, allocations: 2.202 MB / 0.7019 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/1.439, allocations: 0.7392 MB / 0.7027 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/1.44, allocations: 69.55 kB / 0.7027 GB, free: 28.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=305): time 8.526e-06/1.44, allocations: 0 / 0.7027 GB, free: 28.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=428): time 0.07205/1.512, allocations: 21.04 MB / 0.7233 GB, free: 7.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01727/1.529, allocations: 8.293 MB / 0.7314 GB, free: 14.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/1.533, allocations: 3.002 MB / 0.7343 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009027/1.534, allocations: 89.7 kB / 0.7344 GB, free: 11.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009818/1.535, allocations: 1.237 MB / 0.7356 GB, free: 10.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.537, allocations: 1.436 MB / 0.737 GB, free: 8.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.537, allocations: 87.98 kB / 0.7371 GB, free: 8.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/1.538, allocations: 479.6 kB / 0.7375 GB, free: 8.207 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004589/1.542, allocations: 3.187 MB / 0.7407 GB, free: 5.012 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005072/1.547, allocations: 3.76 MB / 0.7443 GB, free: 1.059 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.553, allocations: 3.503 MB / 0.7478 GB, free: 13.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/1.553, allocations: 4 kB / 0.7478 GB, free: 13.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02022/1.573, allocations: 8.767 MB / 0.7563 GB, free: 4.738 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/1.573, allocations: 12.78 kB / 0.7563 GB, free: 4.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/1.573, allocations: 12 kB / 0.7563 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007496/1.58, allocations: 1.163 MB / 0.7575 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/1.586, allocations: 0.9439 MB / 0.7584 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3921/1.978, allocations: 12.68 MB / 0.7708 GB, free: 88.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/1.983, allocations: 399.5 kB / 0.7712 GB, free: 88.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.984, allocations: 224.2 kB / 0.7714 GB, free: 88.05 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 500 * Array equations: 6 * 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.0008476/1.985, allocations: 331.4 kB / 0.7717 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008846/1.986, allocations: 289.1 kB / 0.772 GB, free: 87.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02576/2.012, allocations: 8.407 MB / 0.7802 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02601/2.038, allocations: 7.501 MB / 0.7875 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.494e-05/2.038, allocations: 6.641 kB / 0.7875 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002659/2.038, allocations: 23.62 kB / 0.7875 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04203/2.081, allocations: 20.86 MB / 0.8079 GB, free: 84.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-05/2.081, allocations: 20.47 kB / 0.8079 GB, free: 84.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/2.084, allocations: 0.7274 MB / 0.8086 GB, free: 84.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/2.096, allocations: 2.259 MB / 0.8108 GB, free: 83.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009861/2.097, allocations: 140 kB / 0.811 GB, free: 83.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02245/2.12, allocations: 17.06 MB / 0.8276 GB, free: 71.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01535/2.135, allocations: 7.147 MB / 0.8346 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02542/2.161, allocations: 13.31 MB / 0.8476 GB, free: 58.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.163, allocations: 470.4 kB / 0.8481 GB, free: 58.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/2.165, allocations: 115.4 kB / 0.8482 GB, free: 58.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/2.168, allocations: 267.9 kB / 0.8484 GB, free: 58.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/2.169, allocations: 393.4 kB / 0.8488 GB, free: 58.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003063/2.169, allocations: 169.2 kB / 0.849 GB, free: 58.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002523/2.172, allocations: 2.357 MB / 0.8513 GB, free: 56.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/2.172, allocations: 2.312 kB / 0.8513 GB, free: 56.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01082/2.183, allocations: 2.762 MB / 0.854 GB, free: 53.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 12 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (407): * Single equations (assignments): 398 * 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,5 8,1 6,5 8,1 6,5 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006188/2.189, allocations: 2.515 MB / 0.8564 GB, free: 52.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01145/2.2, allocations: 7.421 MB / 0.8637 GB, free: 45.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.539e-05/2.2, allocations: 4 kB / 0.8637 GB, free: 45.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006978/2.207, allocations: 4.205 MB / 0.8678 GB, free: 41.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/2.212, allocations: 0.5559 MB / 0.8683 GB, free: 41.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/2.223, allocations: 6.773 MB / 0.8749 GB, free: 34.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/2.225, allocations: 2.034 MB / 0.8769 GB, free: 33.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003562/2.228, allocations: 0.6118 MB / 0.8775 GB, free: 32.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/2.23, allocations: 345.5 kB / 0.8778 GB, free: 32.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/2.23, allocations: 3.719 kB / 0.8778 GB, free: 32.32 MB / 474.7 MB Notification: Performance of Templates: time 0.4633/2.693, allocations: 89.75 MB / 0.9655 GB, free: 112.8 MB / 0.4948 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)