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: "" <> buildModelFMU(Chemical.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1069/0.1069, allocations: 15.27 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.001593/0.001593, allocations: 173.3 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.402/1.402, allocations: 223.2 MB / 263.4 MB, free: 6.516 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.0009281/0.0009282, allocations: 92.31 kB / 318.8 MB, free: 3.469 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003393, allocations: 8.344 kB / 384 MB, free: 50.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 54.64 MB / 438.6 MB, free: 324 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5156, allocations: 103 MB / 0.5289 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.516, allocations: 70.06 kB / 0.529 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.137/0.653, allocations: 59.11 MB / 0.5867 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.653, allocations: 0 / 0.5867 GB, free: 14.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.6531, allocations: 27 kB / 0.5867 GB, free: 14.89 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.003626/0.6567, allocations: 1.743 MB / 0.5884 GB, free: 13.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6568, allocations: 14.31 kB / 0.5884 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.657, allocations: 184.2 kB / 0.5886 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.6586, allocations: 420.6 kB / 0.589 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.6601, allocations: 0.8156 MB / 0.5898 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.6601, allocations: 102.7 kB / 0.5899 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.6603, allocations: 124.6 kB / 0.59 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.6632, allocations: 2.397 MB / 0.5924 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.6632, allocations: 0 / 0.5924 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6634, allocations: 47.88 kB / 0.5924 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.6634, allocations: 31 kB / 0.5924 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/0.6678, allocations: 3.623 MB / 0.596 GB, free: 8.852 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.01039/0.6782, allocations: 6.525 MB / 0.6024 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.6818, allocations: 2.775 MB / 0.6051 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.6822, allocations: 340.6 kB / 0.6054 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.6823, allocations: 47.83 kB / 0.6054 GB, free: 14.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.6823, allocations: 0 / 0.6054 GB, free: 14.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.02504/0.7073, allocations: 8.18 MB / 0.6134 GB, free: 6.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.7074, allocations: 69.41 kB / 0.6135 GB, free: 6.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.7091, allocations: 1.179 MB / 0.6146 GB, free: 5.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.7092, allocations: 57.7 kB / 0.6147 GB, free: 5.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.7097, allocations: 0.5156 MB / 0.6152 GB, free: 4.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.7102, allocations: 0.566 MB / 0.6158 GB, free: 4.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.7103, allocations: 36 kB / 0.6158 GB, free: 4.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.7105, allocations: 422.7 kB / 0.6162 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.7121, allocations: 1.14 MB / 0.6173 GB, free: 2.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.7137, allocations: 1.379 MB / 0.6187 GB, free: 1.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.7154, allocations: 1.252 MB / 0.6199 GB, free: 15.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.7154, allocations: 3.938 kB / 0.6199 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007113/0.7225, allocations: 3.201 MB / 0.623 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.7226, allocations: 11.95 kB / 0.623 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.7226, allocations: 12.09 kB / 0.623 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/0.726, allocations: 453.9 kB / 0.6235 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.7277, allocations: 379.4 kB / 0.6238 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/0.7345, allocations: 4.405 MB / 0.6281 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.7361, allocations: 75.97 kB / 0.6282 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.7362, allocations: 71.97 kB / 0.6283 GB, free: 6.992 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.0006268/0.7369, allocations: 305.3 kB / 0.6286 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.7371, allocations: 114.5 kB / 0.6287 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/0.7441, allocations: 2.894 MB / 0.6315 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.7441, allocations: 20 kB / 0.6315 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7442, allocations: 0 / 0.6315 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.7442, allocations: 8.25 kB / 0.6315 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.7549, allocations: 6.124 MB / 0.6375 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.755, allocations: 8 kB / 0.6375 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7562, allocations: 307.5 kB / 0.6378 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003255/0.7594, allocations: 466.3 kB / 0.6382 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.7596, allocations: 47.98 kB / 0.6383 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.766, allocations: 4.365 MB / 0.6426 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7661, allocations: 8 kB / 0.6426 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008778/0.7749, allocations: 4.596 MB / 0.647 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.7755, allocations: 215.6 kB / 0.6473 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.7757, allocations: 36 kB / 0.6473 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.7766, allocations: 71.81 kB / 0.6474 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.7768, allocations: 133 kB / 0.6475 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.777, allocations: 67.97 kB / 0.6475 GB, free: 2.453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.7782, allocations: 0.9286 MB / 0.6485 GB, free: 1.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7782, allocations: 0 / 0.6485 GB, free: 1.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003362/0.7816, allocations: 0.9562 MB / 0.6494 GB, free: 0.5625 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.01186/0.7934, allocations: 8.102 MB / 0.6573 GB, free: 8.234 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.7978, allocations: 2.728 MB / 0.66 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.7978, allocations: 0 / 0.66 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7997, allocations: 1.416 MB / 0.6613 GB, free: 4.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.8011, allocations: 250.3 kB / 0.6616 GB, free: 3.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/0.8102, allocations: 8.447 MB / 0.6698 GB, free: 10.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.8111, allocations: 1.171 MB / 0.671 GB, free: 9.711 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.8123, allocations: 233.5 kB / 0.6712 GB, free: 9.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007961/0.8131, allocations: 0.5499 MB / 0.6717 GB, free: 8.93 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8131, allocations: 0 / 0.6717 GB, free: 8.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3177/1.131, allocations: 44.24 MB / 0.7149 GB, free: 105 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.131, allocations: 182.2 kB / 0.7151 GB, free: 104.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/4.701, allocations: 0 / 0.7151 GB, free: 104.8 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_blood.fmu > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1)