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.1029/0.1029, allocations: 15.26 MB / 30.21 MB, free: 3.195 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.001107/0.001107, allocations: 179.3 kB / 35.29 MB, free: 2.363 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.39/1.39, allocations: 223.2 MB / 263.4 MB, free: 6.48 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.0009212/0.0009213, allocations: 84.41 kB / 318.8 MB, free: 3.477 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 12.58 kB / 383.9 MB, free: 50.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 54.64 MB / 438.6 MB, free: 436 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4616, allocations: 103 MB / 0.5288 GB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4618, allocations: 69.39 kB / 0.5289 GB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1354/0.5972, allocations: 59.11 MB / 0.5866 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5973, allocations: 0 / 0.5866 GB, free: 14.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.176e-05/0.5973, allocations: 37.17 kB / 0.5866 GB, free: 14.96 MB / 394.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.003584/0.6009, allocations: 1.741 MB / 0.5883 GB, free: 13.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.601, allocations: 11.62 kB / 0.5884 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.6025, allocations: 424.6 kB / 0.5888 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.604, allocations: 0.8185 MB / 0.5896 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.6041, allocations: 91.47 kB / 0.5896 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.6042, allocations: 129.7 kB / 0.5898 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.6072, allocations: 2.397 MB / 0.5921 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.6072, allocations: 3.984 kB / 0.5921 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.6073, allocations: 51.41 kB / 0.5922 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.6074, allocations: 30.81 kB / 0.5922 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.6116, allocations: 3.625 MB / 0.5957 GB, free: 9.113 MB / 394.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.009669/0.6213, allocations: 6.505 MB / 0.6021 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003349/0.6246, allocations: 2.79 MB / 0.6048 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/0.6251, allocations: 332.5 kB / 0.6051 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6251, allocations: 47.83 kB / 0.6052 GB, free: 15.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.6252, allocations: 3.938 kB / 0.6052 GB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.02419/0.6494, allocations: 8.18 MB / 0.6132 GB, free: 6.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.6494, allocations: 69.41 kB / 0.6132 GB, free: 6.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.6508, allocations: 1.187 MB / 0.6144 GB, free: 5.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/0.6509, allocations: 53.7 kB / 0.6144 GB, free: 5.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.6512, allocations: 0.5195 MB / 0.615 GB, free: 5.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.6516, allocations: 0.5543 MB / 0.6155 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.6517, allocations: 36 kB / 0.6155 GB, free: 4.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6519, allocations: 426.7 kB / 0.6159 GB, free: 4.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.6533, allocations: 1.136 MB / 0.617 GB, free: 2.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.6548, allocations: 1.377 MB / 0.6184 GB, free: 1.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.6564, allocations: 1.251 MB / 0.6196 GB, free: 184 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6565, allocations: 4 kB / 0.6196 GB, free: 180 kB / 410.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006804/0.6633, allocations: 3.205 MB / 0.6227 GB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6633, allocations: 4 kB / 0.6227 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.6633, allocations: 11.95 kB / 0.6228 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003287/0.6666, allocations: 462 kB / 0.6232 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.6681, allocations: 387.3 kB / 0.6236 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.6748, allocations: 4.403 MB / 0.6279 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.6762, allocations: 63.91 kB / 0.6279 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.6764, allocations: 84.02 kB / 0.628 GB, free: 7.262 MB / 426.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * 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,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006948/0.6771, allocations: 298.2 kB / 0.6283 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.6774, allocations: 122.4 kB / 0.6284 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007892/0.6853, allocations: 2.883 MB / 0.6312 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.6853, allocations: 23.94 kB / 0.6312 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.6854, allocations: 0 / 0.6312 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.6854, allocations: 15.95 kB / 0.6313 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.6972, allocations: 6.117 MB / 0.6372 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.6973, allocations: 4 kB / 0.6372 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.6985, allocations: 307.6 kB / 0.6375 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.7017, allocations: 470 kB / 0.638 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.7018, allocations: 51.98 kB / 0.638 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.708, allocations: 4.357 MB / 0.6423 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7081, allocations: 8.094 kB / 0.6423 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.7165, allocations: 4.604 MB / 0.6468 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.717, allocations: 215.6 kB / 0.647 GB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.7173, allocations: 43.98 kB / 0.647 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7184, allocations: 63.81 kB / 0.6471 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.7186, allocations: 137 kB / 0.6472 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.7187, allocations: 55.98 kB / 0.6473 GB, free: 2.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.72, allocations: 0.9364 MB / 0.6482 GB, free: 1.793 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.72, allocations: 4 kB / 0.6482 GB, free: 1.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003241/0.7233, allocations: 0.9562 MB / 0.6491 GB, free: 0.832 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (173): * Single equations (assignments): 170 * 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 3,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/0.7262, allocations: 1.136 MB / 0.6502 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.7303, allocations: 2.72 MB / 0.6529 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.7303, allocations: 8.062 kB / 0.6529 GB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.7322, allocations: 1.416 MB / 0.6543 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7335, allocations: 249.7 kB / 0.6545 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.7387, allocations: 3.604 MB / 0.6581 GB, free: 7.535 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7399, allocations: 1.175 MB / 0.6592 GB, free: 6.328 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.7411, allocations: 233.5 kB / 0.6594 GB, free: 6.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.7416, allocations: 123.4 kB / 0.6595 GB, free: 5.977 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7416, allocations: 0 / 0.6595 GB, free: 5.977 MB / 458.7 MB Notification: Performance of Templates: time 0.3212/1.063, allocations: 33.21 MB / 0.692 GB, free: 110 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)