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: "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",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.0989/0.0989, allocations: 15.26 MB / 30.21 MB, free: 3.301 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.0009985/0.0009984, allocations: 178.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.447/1.447, allocations: 223.2 MB / 263.4 MB, free: 6.875 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.0009235/0.0009234, allocations: 99.27 kB / 318.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 10.42 kB / 384 MB, free: 50.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 54.64 MB / 438.6 MB, free: 388 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4612, allocations: 103.2 MB / 0.5291 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4615, allocations: 71.59 kB / 0.5292 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2231/0.6846, allocations: 91.82 MB / 0.6189 GB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6847, allocations: 3.938 kB / 0.6189 GB, free: 1.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.6848, allocations: 40 kB / 0.6189 GB, free: 1.418 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.007869/0.6927, allocations: 2.654 MB / 0.6215 GB, free: 14.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.6927, allocations: 12.03 kB / 0.6215 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007958/0.6935, allocations: 295.7 kB / 0.6218 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.6964, allocations: 0.6305 MB / 0.6224 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.6997, allocations: 1.27 MB / 0.6237 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.6999, allocations: 160.2 kB / 0.6238 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.7004, allocations: 223.9 kB / 0.624 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006255/0.7067, allocations: 3.903 MB / 0.6278 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.7067, allocations: 0 / 0.6278 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.7069, allocations: 84 kB / 0.6279 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.707, allocations: 59.98 kB / 0.628 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008347/0.7154, allocations: 5.783 MB / 0.6336 GB, free: 2.133 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.01779/0.7332, allocations: 10.84 MB / 0.6442 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006369/0.7396, allocations: 4.972 MB / 0.6491 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008733/0.7405, allocations: 0.5681 MB / 0.6496 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7405, allocations: 60.56 kB / 0.6497 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001054/0.7416, allocations: 198 kB / 0.6499 GB, free: 1.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 4.9e-06/0.7416, allocations: 0 / 0.6499 GB, free: 1.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=307): time 0.05231/0.7939, allocations: 14.98 MB / 0.6645 GB, free: 1.906 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.794, allocations: 85.83 kB / 0.6646 GB, free: 1.809 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.7964, allocations: 1.487 MB / 0.666 GB, free: 316 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004693/0.7968, allocations: 77.7 kB / 0.6661 GB, free: 232 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/0.7975, allocations: 0.7705 MB / 0.6669 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.7987, allocations: 1.016 MB / 0.6679 GB, free: 14.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.7989, allocations: 60 kB / 0.6679 GB, free: 14.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.7992, allocations: 420.1 kB / 0.6683 GB, free: 13.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/0.8022, allocations: 1.911 MB / 0.6702 GB, free: 12.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003069/0.8053, allocations: 2.285 MB / 0.6724 GB, free: 9.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.8083, allocations: 2.087 MB / 0.6744 GB, free: 7.523 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.8084, allocations: 7.953 kB / 0.6745 GB, free: 7.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.0132/0.8216, allocations: 5.424 MB / 0.6798 GB, free: 2.035 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.8217, allocations: 19.89 kB / 0.6798 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.8217, allocations: 8 kB / 0.6798 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/0.8281, allocations: 0.8556 MB / 0.6806 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.8316, allocations: 0.6319 MB / 0.6812 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3033/1.135, allocations: 8.705 MB / 0.6897 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.138, allocations: 125.6 kB / 0.6899 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/1.138, allocations: 126 kB / 0.69 GB, free: 81.12 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.001089/1.139, allocations: 436 kB / 0.6904 GB, free: 81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.14, allocations: 192.7 kB / 0.6906 GB, free: 81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.154, allocations: 5.218 MB / 0.6957 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/1.154, allocations: 32.91 kB / 0.6957 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.154, allocations: 1.625 kB / 0.6957 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/1.154, allocations: 20.11 kB / 0.6957 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.184, allocations: 12.16 MB / 0.7076 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/1.184, allocations: 10.56 kB / 0.7076 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.187, allocations: 0.5466 MB / 0.7081 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/1.193, allocations: 0.8608 MB / 0.709 GB, free: 79.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006373/1.193, allocations: 93.5 kB / 0.7091 GB, free: 79.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.205, allocations: 8.613 MB / 0.7175 GB, free: 73.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/1.205, allocations: 20.39 kB / 0.7175 GB, free: 73.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/1.221, allocations: 8.257 MB / 0.7256 GB, free: 71.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.223, allocations: 299.4 kB / 0.7258 GB, free: 71.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/1.223, allocations: 75.48 kB / 0.7259 GB, free: 71.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.225, allocations: 110.5 kB / 0.726 GB, free: 71.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/1.225, allocations: 250.1 kB / 0.7263 GB, free: 71.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.225, allocations: 115.2 kB / 0.7264 GB, free: 71.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001391/1.227, allocations: 1.183 MB / 0.7275 GB, free: 71.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 0 / 0.7275 GB, free: 71.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006067/1.233, allocations: 1.56 MB / 0.7291 GB, free: 71.4 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.01973/1.253, allocations: 13.66 MB / 0.7424 GB, free: 65.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007811/1.261, allocations: 4.806 MB / 0.7471 GB, free: 63.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/1.261, allocations: 2.125 kB / 0.7471 GB, free: 63.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.264, allocations: 2.621 MB / 0.7496 GB, free: 62.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/1.266, allocations: 392.9 kB / 0.75 GB, free: 62.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.279, allocations: 13.84 MB / 0.7635 GB, free: 50.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009853/1.28, allocations: 1.53 MB / 0.765 GB, free: 50.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001952/1.282, allocations: 396.3 kB / 0.7654 GB, free: 50.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.283, allocations: 0.9468 MB / 0.7663 GB, free: 49.41 MB / 474.7 MB Notification: Performance of SimCode: time 3.377e-06/1.283, allocations: 0 / 0.7663 GB, free: 49.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.402, allocations: 72.85 MB / 0.8375 GB, free: 7.914 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/1.402, allocations: 179.3 kB / 0.8377 GB, free: 7.676 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/6.07, allocations: 0 / 0.8377 GB, free: 7.676 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility.fmu > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)