Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.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_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1461/0.1461, allocations: 15.26 MB / 22.73 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 185 kB / 27.52 MB, free: 6.113 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.505/1.505, allocations: 221.5 MB / 253.7 MB, free: 10.34 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.001041/0.001042, allocations: 87.89 kB / 308.7 MB, free: 10.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.42e-05, allocations: 0 / 369.6 MB, free: 53.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 54.63 MB / 424.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5115, allocations: 102.2 MB / 0.5141 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.5117, allocations: 72.06 kB / 0.5142 GB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1382/0.6499, allocations: 58.05 MB / 0.5708 GB, free: 5.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6499, allocations: 0 / 0.5708 GB, free: 5.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.059e-05/0.65, allocations: 35.94 kB / 0.5709 GB, free: 5.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004286/0.6543, allocations: 1.641 MB / 0.5725 GB, free: 3.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6544, allocations: 12.02 kB / 0.5725 GB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.6562, allocations: 425.3 kB / 0.5729 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.658, allocations: 0.8259 MB / 0.5737 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.6581, allocations: 40 kB / 0.5737 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.6584, allocations: 75.91 kB / 0.5738 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004697/0.6631, allocations: 3.511 MB / 0.5772 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.666, allocations: 1.712 MB / 0.5789 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.666, allocations: 0 / 0.5789 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.6661, allocations: 0 / 0.5789 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.6662, allocations: 28 kB / 0.5789 GB, free: 13.3 MB / 394.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.01058/0.6768, allocations: 6.312 MB / 0.5851 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.6802, allocations: 2.713 MB / 0.5878 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6814, allocations: 0.91 MB / 0.5886 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.6819, allocations: 332 kB / 0.589 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6819, allocations: 43.88 kB / 0.589 GB, free: 2.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.6819, allocations: 0 / 0.589 GB, free: 2.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.02816/0.7101, allocations: 8.401 MB / 0.5972 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.7102, allocations: 68.72 kB / 0.5973 GB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.7115, allocations: 1.089 MB / 0.5983 GB, free: 9.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7117, allocations: 25.7 kB / 0.5984 GB, free: 9.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.712, allocations: 0.5234 MB / 0.5989 GB, free: 8.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.7125, allocations: 0.5618 MB / 0.5994 GB, free: 8.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.7126, allocations: 4 kB / 0.5994 GB, free: 8.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7128, allocations: 418.7 kB / 0.5998 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.7144, allocations: 1.261 MB / 0.6011 GB, free: 6.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.716, allocations: 1.483 MB / 0.6025 GB, free: 4.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.7199, allocations: 1.729 MB / 0.6042 GB, free: 3.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7199, allocations: 4 kB / 0.6042 GB, free: 3.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008543/0.7285, allocations: 3.729 MB / 0.6078 GB, free: 15.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.7285, allocations: 8 kB / 0.6078 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7286, allocations: 4 kB / 0.6079 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/0.7311, allocations: 402.3 kB / 0.6082 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.7327, allocations: 391.4 kB / 0.6086 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.7384, allocations: 4.219 MB / 0.6127 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.7404, allocations: 143.8 kB / 0.6129 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/0.7409, allocations: 92.16 kB / 0.613 GB, free: 9.863 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004704/0.7414, allocations: 140.6 kB / 0.6131 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.7417, allocations: 110.6 kB / 0.6132 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.7524, allocations: 3.68 MB / 0.6168 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009529/0.762, allocations: 3.346 MB / 0.6201 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.762, allocations: 0 / 0.6201 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-05/0.7621, allocations: 7.969 kB / 0.6201 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.7786, allocations: 7.93 MB / 0.6278 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.7787, allocations: 12 kB / 0.6278 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.7798, allocations: 303.5 kB / 0.6281 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00482/0.7846, allocations: 0.8931 MB / 0.629 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.7848, allocations: 43.95 kB / 0.629 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009946/0.7947, allocations: 6.399 MB / 0.6353 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005628/0.8004, allocations: 2.39 MB / 0.6376 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.8132, allocations: 5.574 MB / 0.643 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.8139, allocations: 227.6 kB / 0.6433 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/0.8143, allocations: 23.98 kB / 0.6433 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.8158, allocations: 87.78 kB / 0.6434 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/0.8162, allocations: 164.9 kB / 0.6435 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.8164, allocations: 72.33 kB / 0.6436 GB, free: 9.457 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.8176, allocations: 0.8506 MB / 0.6444 GB, free: 8.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8176, allocations: 0 / 0.6444 GB, free: 8.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00422/0.8219, allocations: 1.144 MB / 0.6455 GB, free: 7.457 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 5 ($STATESET1.x[5],$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 (167): * Single equations (assignments): 164 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003482/0.8253, allocations: 1.112 MB / 0.6466 GB, free: 6.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005189/0.8306, allocations: 2.895 MB / 0.6495 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.8306, allocations: 4 kB / 0.6495 GB, free: 3.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.8335, allocations: 1.675 MB / 0.6511 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.8354, allocations: 226 kB / 0.6513 GB, free: 1.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.8401, allocations: 2.637 MB / 0.6539 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.8412, allocations: 1.22 MB / 0.6551 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001288/0.8425, allocations: 261.1 kB / 0.6553 GB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.843, allocations: 147.3 kB / 0.6555 GB, free: 13.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.262e-06/0.843, allocations: 0 / 0.6555 GB, free: 13.11 MB / 474.7 MB Notification: Performance of Templates: time 0.3395/1.183, allocations: 33.67 MB / 0.6883 GB, free: 121.1 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1)