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: translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08859/0.08859, 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.0009076/0.0009077, allocations: 179.6 kB / 36.3 MB, free: 2.262 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.559/1.559, allocations: 223.3 MB / 264.5 MB, free: 6.215 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.0008351/0.0008352, allocations: 99.62 kB / 319.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 14.19 kB / 385.2 MB, free: 50.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 54.64 MB / 439.8 MB, free: 64 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5578, allocations: 103.2 MB / 0.5303 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5581, allocations: 69.05 kB / 0.5304 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2255/0.7837, allocations: 91.35 MB / 0.6196 GB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7837, allocations: 0 / 0.6196 GB, free: 1.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001635/0.7839, allocations: 48 kB / 0.6197 GB, free: 1.539 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.008272/0.7922, allocations: 2.633 MB / 0.6222 GB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7922, allocations: 12.88 kB / 0.6222 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.7955, allocations: 0.6357 MB / 0.6229 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.7992, allocations: 1.29 MB / 0.6241 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.7994, allocations: 160.6 kB / 0.6243 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009291/0.8003, allocations: 220.3 kB / 0.6245 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00931/0.8097, allocations: 3.927 MB / 0.6283 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-05/0.8098, allocations: 192 / 0.6283 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.8103, allocations: 91.94 kB / 0.6284 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.8104, allocations: 48 kB / 0.6284 GB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009016/0.8194, allocations: 5.787 MB / 0.6341 GB, free: 2.523 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.02101/0.8405, allocations: 10.84 MB / 0.6447 GB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006616/0.8471, allocations: 4.967 MB / 0.6495 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.8495, allocations: 1.739 MB / 0.6512 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009627/0.8505, allocations: 0.567 MB / 0.6518 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.8506, allocations: 60.5 kB / 0.6518 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001158/0.8518, allocations: 198.1 kB / 0.652 GB, free: 15.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=233): time 1.105e-05/0.8518, allocations: 0 / 0.652 GB, free: 15.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=307): time 0.05123/0.903, allocations: 14.99 MB / 0.6667 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.9031, allocations: 85.77 kB / 0.6668 GB, free: 468 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.9056, allocations: 1.618 MB / 0.6683 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006205/0.9062, allocations: 77.7 kB / 0.6684 GB, free: 14.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.9068, allocations: 0.7667 MB / 0.6692 GB, free: 13.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.9083, allocations: 1.028 MB / 0.6702 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.9087, allocations: 56 kB / 0.6702 GB, free: 12.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.909, allocations: 420.1 kB / 0.6706 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/0.9124, allocations: 1.911 MB / 0.6725 GB, free: 10.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.916, allocations: 2.296 MB / 0.6747 GB, free: 8.125 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006724/0.9228, allocations: 4.179 MB / 0.6788 GB, free: 3.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.9228, allocations: 4 kB / 0.6788 GB, free: 3.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=375) (initialization): time 0.3024/1.225, allocations: 5.435 MB / 0.6841 GB, free: 87.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.225, allocations: 6.938 kB / 0.6841 GB, free: 87.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.225, allocations: 8.906 kB / 0.6841 GB, free: 87.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/1.231, allocations: 0.8532 MB / 0.685 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/1.234, allocations: 0.6342 MB / 0.6856 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.245, allocations: 8.63 MB / 0.694 GB, free: 80.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/1.248, allocations: 123.9 kB / 0.6941 GB, free: 80.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004256/1.249, allocations: 123.3 kB / 0.6942 GB, free: 80.8 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.001262/1.25, allocations: 431.4 kB / 0.6947 GB, free: 80.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/1.25, allocations: 191.2 kB / 0.6948 GB, free: 80.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.264, allocations: 5.212 MB / 0.6999 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/1.264, allocations: 36.62 kB / 0.7 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.264, allocations: 3.875 kB / 0.7 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/1.264, allocations: 15.52 kB / 0.7 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.287, allocations: 12.15 MB / 0.7118 GB, free: 79.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.287, allocations: 12.34 kB / 0.7119 GB, free: 79.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.289, allocations: 0.5525 MB / 0.7124 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/1.295, allocations: 0.8593 MB / 0.7132 GB, free: 79.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004019/1.295, allocations: 86.02 kB / 0.7133 GB, free: 79.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.305, allocations: 8.552 MB / 0.7217 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/1.305, allocations: 20.5 kB / 0.7217 GB, free: 73.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.319, allocations: 7.641 MB / 0.7292 GB, free: 72.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/1.32, allocations: 300.7 kB / 0.7294 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/1.32, allocations: 73.95 kB / 0.7295 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.322, allocations: 114.1 kB / 0.7296 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/1.322, allocations: 255.8 kB / 0.7299 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.322, allocations: 113.4 kB / 0.73 GB, free: 72.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001235/1.323, allocations: 1.17 MB / 0.7311 GB, free: 71.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.323, allocations: 0 / 0.7311 GB, free: 71.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004549/1.328, allocations: 1.56 MB / 0.7326 GB, free: 71.91 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.002862/1.331, allocations: 1.702 MB / 0.7343 GB, free: 71.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006352/1.337, allocations: 4.815 MB / 0.739 GB, free: 71.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.337, allocations: 0 / 0.739 GB, free: 71.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00328/1.341, allocations: 2.624 MB / 0.7416 GB, free: 70.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004032/1.345, allocations: 445.6 kB / 0.742 GB, free: 70.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007582/1.352, allocations: 6.136 MB / 0.748 GB, free: 66.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/1.353, allocations: 1.488 MB / 0.7494 GB, free: 65.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001831/1.355, allocations: 401.5 kB / 0.7498 GB, free: 65.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/1.356, allocations: 218.7 kB / 0.75 GB, free: 65.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/1.356, allocations: 3.938 kB / 0.75 GB, free: 65.71 MB / 474.7 MB Notification: Performance of Templates: time 0.07601/1.432, allocations: 56.51 MB / 0.8052 GB, free: 42.91 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (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 & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)