Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1063/0.1063, 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.001439/0.001439, allocations: 184.2 kB / 35.29 MB, free: 2.379 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.379/1.379, allocations: 223.2 MB / 263.4 MB, free: 5.84 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.0009964/0.0009962, allocations: 101.8 kB / 318.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 7.812 kB / 383.9 MB, free: 50.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 54.64 MB / 438.6 MB, free: 304 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4586, allocations: 103.2 MB / 0.5291 GB, free: 15.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4589, allocations: 71.2 kB / 0.5291 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2135/0.6723, allocations: 91.82 MB / 0.6188 GB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6724, allocations: 0 / 0.6188 GB, free: 1.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.6725, allocations: 51.98 kB / 0.6189 GB, free: 1.461 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.006398/0.6789, allocations: 2.65 MB / 0.6214 GB, free: 14.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.679, allocations: 12.03 kB / 0.6215 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.6815, allocations: 0.6308 MB / 0.6221 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.6841, allocations: 1.262 MB / 0.6233 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.6843, allocations: 160.2 kB / 0.6235 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/0.6846, allocations: 223.8 kB / 0.6237 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005428/0.69, allocations: 3.911 MB / 0.6275 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.6901, allocations: 4 kB / 0.6275 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.6903, allocations: 83.98 kB / 0.6276 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.6904, allocations: 52 kB / 0.6276 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/0.6975, allocations: 5.783 MB / 0.6333 GB, free: 2.48 MB / 426.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.01603/0.7136, allocations: 10.83 MB / 0.6438 GB, free: 7.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/0.7195, allocations: 4.981 MB / 0.6487 GB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008351/0.7204, allocations: 0.567 MB / 0.6493 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.7204, allocations: 56.56 kB / 0.6493 GB, free: 1.59 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001024/0.7215, allocations: 202 kB / 0.6495 GB, free: 1.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 4.338e-06/0.7215, allocations: 0 / 0.6495 GB, free: 1.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=307): time 0.04901/0.7705, allocations: 14.98 MB / 0.6641 GB, free: 2.254 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.7706, allocations: 85.83 kB / 0.6642 GB, free: 2.156 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.7724, allocations: 1.491 MB / 0.6657 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.7727, allocations: 77.7 kB / 0.6657 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/0.7732, allocations: 0.7706 MB / 0.6665 GB, free: 15.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007794/0.774, allocations: 1.016 MB / 0.6675 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.7741, allocations: 60 kB / 0.6676 GB, free: 14.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7743, allocations: 416.1 kB / 0.6679 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.7767, allocations: 1.911 MB / 0.6698 GB, free: 12.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.7794, allocations: 2.289 MB / 0.6721 GB, free: 9.965 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.7821, allocations: 2.087 MB / 0.6741 GB, free: 7.863 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7821, allocations: 4 kB / 0.6741 GB, free: 7.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01245/0.7945, allocations: 5.431 MB / 0.6794 GB, free: 2.375 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.7946, allocations: 11.95 kB / 0.6794 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.7946, allocations: 8 kB / 0.6794 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/0.8009, allocations: 0.8555 MB / 0.6803 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.8039, allocations: 0.6358 MB / 0.6809 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2738/1.078, allocations: 8.698 MB / 0.6894 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.08, allocations: 129 kB / 0.6895 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/1.081, allocations: 128.1 kB / 0.6896 GB, free: 81.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (349): * Single equations (assignments): 343 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001011/1.082, allocations: 428.7 kB / 0.69 GB, free: 81.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.082, allocations: 188.5 kB / 0.6902 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.095, allocations: 5.222 MB / 0.6953 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/1.095, allocations: 36.72 kB / 0.6953 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.095, allocations: 4.438 kB / 0.6953 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.095, allocations: 17.12 kB / 0.6954 GB, free: 80.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/1.118, allocations: 12.16 MB / 0.7072 GB, free: 80.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/1.119, allocations: 11.75 kB / 0.7072 GB, free: 80.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.121, allocations: 0.5467 MB / 0.7078 GB, free: 80.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/1.127, allocations: 0.8543 MB / 0.7086 GB, free: 79.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005359/1.128, allocations: 96.56 kB / 0.7087 GB, free: 79.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.138, allocations: 8.609 MB / 0.7171 GB, free: 73.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.138, allocations: 20 kB / 0.7171 GB, free: 73.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.152, allocations: 8.264 MB / 0.7252 GB, free: 71.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/1.153, allocations: 296.8 kB / 0.7255 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/1.153, allocations: 72.03 kB / 0.7255 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.155, allocations: 110.4 kB / 0.7257 GB, free: 71.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/1.155, allocations: 253.6 kB / 0.7259 GB, free: 71.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.155, allocations: 119.6 kB / 0.726 GB, free: 71.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001277/1.157, allocations: 1.173 MB / 0.7272 GB, free: 71.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.157, allocations: 0 / 0.7272 GB, free: 71.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004533/1.161, allocations: 1.56 MB / 0.7287 GB, free: 71.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (319): * Single equations (assignments): 313 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 8,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/1.164, allocations: 1.704 MB / 0.7303 GB, free: 71.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005928/1.17, allocations: 4.811 MB / 0.735 GB, free: 70.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.17, allocations: 1.031 kB / 0.735 GB, free: 70.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/1.173, allocations: 2.621 MB / 0.7376 GB, free: 70.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.175, allocations: 391.7 kB / 0.738 GB, free: 70.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/1.182, allocations: 6.134 MB / 0.744 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009048/1.183, allocations: 1.534 MB / 0.7455 GB, free: 66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0018/1.185, allocations: 395.1 kB / 0.7458 GB, free: 65.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/1.185, allocations: 227.3 kB / 0.7461 GB, free: 65.92 MB / 474.7 MB Notification: Performance of SimCode: time 1.573e-06/1.185, allocations: 0 / 0.7461 GB, free: 65.92 MB / 474.7 MB Notification: Performance of Templates: time 0.07261/1.258, allocations: 55.32 MB / 0.8001 GB, free: 47.11 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)