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.0963/0.0963, allocations: 15.26 MB / 31.21 MB, free: 3.223 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.0009178/0.000918, allocations: 174.1 kB / 36.29 MB, free: 2.266 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.603/1.603, allocations: 223.3 MB / 264.5 MB, free: 5.777 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.0009086/0.0009085, allocations: 87.77 kB / 319.9 MB, free: 2.777 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003785, allocations: 10.64 kB / 385.2 MB, free: 50.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1068, allocations: 54.64 MB / 439.8 MB, free: 0 / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.4912, allocations: 103 MB / 0.5301 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4915, allocations: 70.48 kB / 0.5302 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1428/0.6343, allocations: 58.85 MB / 0.5876 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6344, allocations: 0 / 0.5876 GB, free: 14.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.6345, allocations: 29.44 kB / 0.5876 GB, free: 14.91 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.005562/0.6401, allocations: 1.731 MB / 0.5893 GB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6401, allocations: 12.53 kB / 0.5894 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.6423, allocations: 428.3 kB / 0.5898 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.6446, allocations: 0.843 MB / 0.5906 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.6448, allocations: 93.69 kB / 0.5907 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/0.6454, allocations: 127.5 kB / 0.5908 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.6506, allocations: 2.414 MB / 0.5932 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.6507, allocations: 192 / 0.5932 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.6509, allocations: 51.31 kB / 0.5932 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.651, allocations: 30.38 kB / 0.5932 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006165/0.6572, allocations: 3.62 MB / 0.5968 GB, free: 8.887 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.01268/0.6699, allocations: 6.509 MB / 0.6031 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003731/0.6736, allocations: 2.784 MB / 0.6058 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.6749, allocations: 0.9567 MB / 0.6068 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.6754, allocations: 340.5 kB / 0.6071 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.6754, allocations: 59.8 kB / 0.6072 GB, free: 13.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.397e-06/0.6755, allocations: 0 / 0.6072 GB, free: 13.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.02345/0.6989, allocations: 8.179 MB / 0.6151 GB, free: 5.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.699, allocations: 69.41 kB / 0.6152 GB, free: 5.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.7009, allocations: 1.266 MB / 0.6164 GB, free: 4.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/0.7012, allocations: 49.7 kB / 0.6165 GB, free: 4.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.7016, allocations: 0.5118 MB / 0.617 GB, free: 3.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/0.7023, allocations: 0.5697 MB / 0.6175 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.7025, allocations: 36 kB / 0.6176 GB, free: 3.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/0.7028, allocations: 426.6 kB / 0.618 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.7047, allocations: 1.144 MB / 0.6191 GB, free: 1.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.7067, allocations: 1.381 MB / 0.6205 GB, free: 136 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.7102, allocations: 2.437 MB / 0.6228 GB, free: 13.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.7102, allocations: 4 kB / 0.6228 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007972/0.7182, allocations: 3.208 MB / 0.626 GB, free: 10.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.7183, allocations: 4 kB / 0.626 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.7183, allocations: 8 kB / 0.626 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/0.7212, allocations: 465.9 kB / 0.6264 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.7229, allocations: 375.5 kB / 0.6268 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.7296, allocations: 4.378 MB / 0.6311 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.7312, allocations: 75.94 kB / 0.6311 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.7315, allocations: 71.95 kB / 0.6312 GB, free: 4.738 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.0009013/0.7325, allocations: 298.1 kB / 0.6315 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.7329, allocations: 114.6 kB / 0.6316 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006702/0.7396, allocations: 2.875 MB / 0.6344 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.7396, allocations: 16 kB / 0.6344 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7396, allocations: 4 kB / 0.6344 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.7397, allocations: 7.969 kB / 0.6344 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.7503, allocations: 6.132 MB / 0.6404 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.7503, allocations: 11.94 kB / 0.6404 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.7515, allocations: 308.2 kB / 0.6407 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/0.7542, allocations: 462.2 kB / 0.6412 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.7544, allocations: 51.97 kB / 0.6412 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00606/0.7605, allocations: 4.314 MB / 0.6454 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-05/0.7606, allocations: 15.94 kB / 0.6454 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008164/0.7687, allocations: 4.274 MB / 0.6496 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.7693, allocations: 219.5 kB / 0.6498 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.7696, allocations: 40 kB / 0.6499 GB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.7706, allocations: 59.97 kB / 0.6499 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.7708, allocations: 137 kB / 0.6501 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.771, allocations: 63.97 kB / 0.6501 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.7722, allocations: 0.9325 MB / 0.651 GB, free: 15.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7722, allocations: 4 kB / 0.651 GB, free: 15.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003294/0.7755, allocations: 0.96 MB / 0.652 GB, free: 14.85 MB / 458.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.002812/0.7783, allocations: 1.132 MB / 0.6531 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004277/0.7826, allocations: 2.736 MB / 0.6557 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7826, allocations: 4.125 kB / 0.6557 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.7846, allocations: 1.416 MB / 0.6571 GB, free: 9.504 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.7872, allocations: 274.4 kB / 0.6574 GB, free: 9.242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.7928, allocations: 3.609 MB / 0.6609 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/0.7938, allocations: 1.141 MB / 0.662 GB, free: 4.355 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.795, allocations: 233.5 kB / 0.6623 GB, free: 4.125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.7954, allocations: 131.4 kB / 0.6624 GB, free: 3.996 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/0.7954, allocations: 0 / 0.6624 GB, free: 3.996 MB / 458.7 MB Notification: Performance of Templates: time 0.2962/1.092, allocations: 33.93 MB / 0.6955 GB, free: 111.8 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)