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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1928/0.1928, allocations: 15.26 MB / 306.2 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 11.98 kB / 371.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 54.61 MB / 426.1 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.005612/0.3008, allocations: 6.37 MB / 432.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3173, allocations: 18.37 MB / 450.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.3185, allocations: 28.03 kB / 450.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3195, allocations: 427.7 kB / 451.2 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.3235, allocations: 1.681 MB / 452.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006751/0.3302, allocations: 2.511 MB / 455.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.3327, allocations: 1.209 MB / 456.6 MB, free: 21.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.3337, allocations: 0.7217 MB / 457.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000836/0.3345, allocations: 0.6301 MB / 458 MB, free: 21.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.3353, allocations: 0.8296 MB / 458.8 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.3355, allocations: 82.16 kB / 458.9 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007133/0.3426, allocations: 2.557 MB / 461.5 MB, free: 20.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.3431, allocations: 280.8 kB / 461.7 MB, free: 20.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.3436, allocations: 281.4 kB / 462 MB, free: 20.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.3488, allocations: 2.413 MB / 464.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3488, allocations: 1.469 kB / 464.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3488, allocations: 3.938 kB / 464.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.3489, allocations: 3.938 kB / 464.4 MB, free: 19.34 MB / 350.1 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.003395/0.3523, allocations: 1.749 MB / 466.2 MB, free: 18.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3523, allocations: 13.72 kB / 466.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.3525, allocations: 183.8 kB / 466.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.3541, allocations: 377.6 kB / 466.7 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.355, allocations: 0.6613 MB / 467.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.3551, allocations: 91.97 kB / 467.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3553, allocations: 133.4 kB / 467.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.3578, allocations: 1.741 MB / 469.4 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3579, allocations: 1.562 kB / 469.4 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.358, allocations: 49.52 kB / 469.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.358, allocations: 31.22 kB / 469.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.3615, allocations: 2.477 MB / 471.9 MB, free: 15.91 MB / 350.1 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.008236/0.3698, allocations: 5.003 MB / 476.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.3732, allocations: 2.24 MB / 479.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007076/0.3803, allocations: 5.146 MB / 484.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3804, allocations: 41.69 kB / 484.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.196e-06/0.3804, allocations: 1.062 kB / 484.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01489/0.3953, allocations: 3.399 MB / 487.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3953, allocations: 60.97 kB / 487.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.3969, allocations: 1.295 MB / 489.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.397, allocations: 42.5 kB / 489.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.3973, allocations: 0.6822 MB / 489.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.3975, allocations: 318.3 kB / 490.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.3976, allocations: 24 kB / 490.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3977, allocations: 421 kB / 490.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.3984, allocations: 0.5022 MB / 491.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009375/0.3994, allocations: 0.9958 MB / 492.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.4002, allocations: 0.6354 MB / 492.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.4002, allocations: 4 kB / 492.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00403/0.4042, allocations: 1.904 MB / 494.6 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4043, allocations: 12 kB / 494.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4043, allocations: 16 kB / 494.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.4064, allocations: 265.5 kB / 494.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.4075, allocations: 351.5 kB / 495.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.4129, allocations: 3.557 MB / 498.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4143, allocations: 75.97 kB / 498.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.4145, allocations: 79.97 kB / 499 MB, free: 11.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * 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: 2 * 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: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005903/0.4151, allocations: 297.3 kB / 499.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.4154, allocations: 106.6 kB / 499.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.4194, allocations: 1.264 MB / 0.4889 GB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.4195, allocations: 8 kB / 0.4889 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4195, allocations: 8 kB / 0.4889 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4195, allocations: 3.984 kB / 0.4889 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4215, allocations: 1.105 MB / 0.49 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.4215, allocations: 4 kB / 0.49 GB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.4222, allocations: 179.7 kB / 0.4902 GB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.4243, allocations: 245.5 kB / 0.4904 GB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4244, allocations: 35.98 kB / 0.4904 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.4293, allocations: 3.445 MB / 0.4938 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4294, allocations: 4.031 kB / 0.4938 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/0.4339, allocations: 1.65 MB / 0.4954 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006838/0.4346, allocations: 187.7 kB / 0.4956 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.435, allocations: 24 kB / 0.4956 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.4359, allocations: 31.98 kB / 0.4956 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.4361, allocations: 72.89 kB / 0.4957 GB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.4362, allocations: 39.98 kB / 0.4957 GB, free: 2.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.4373, allocations: 0.9062 MB / 0.4966 GB, free: 1.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4373, allocations: 3.938 kB / 0.4966 GB, free: 1.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003584/0.4409, allocations: 0.8197 MB / 0.4974 GB, free: 0.5898 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 91 * 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: 2 * 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: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008307/0.4493, allocations: 3.354 MB / 0.5007 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.4519, allocations: 1.4 MB / 0.5021 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4519, allocations: 1.938 kB / 0.5021 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.453, allocations: 0.6905 MB / 0.5028 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.4545, allocations: 195.7 kB / 0.5029 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4651, allocations: 14.67 MB / 0.5173 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.4661, allocations: 1.11 MB / 0.5184 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001349/0.4675, allocations: 260.4 kB / 0.5186 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008241/0.4683, allocations: 0.5378 MB / 0.5191 GB, free: 9.703 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4683, allocations: 4 kB / 0.5191 GB, free: 9.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.5287, allocations: 35.88 MB / 0.5542 GB, free: 6.047 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.5289, allocations: 188.5 kB / 0.5543 GB, free: 5.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.219, allocations: 0 / 0.5543 GB, free: 5.805 MB / 430.1 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) Environment - environmentSimulation: