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.1669/0.1669, allocations: 15.25 MB / 27.81 MB, free: 5.395 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.001395/0.001395, allocations: 184.4 kB / 32.7 MB, free: 0.5156 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.728/1.728, allocations: 221.4 MB / 258.8 MB, free: 15.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 95.14 kB / 314 MB, free: 15.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 7.938 kB / 376.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3579, allocations: 54.6 MB / 431.1 MB, free: 50.08 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.5035, allocations: 102.9 MB / 0.5215 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5038, allocations: 68.78 kB / 0.5215 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1544/0.6583, allocations: 58.89 MB / 0.579 GB, free: 1.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6583, allocations: 0 / 0.579 GB, free: 1.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.955e-05/0.6584, allocations: 32 kB / 0.5791 GB, free: 1.484 MB / 442.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.287/0.9454, allocations: 1.647 MB / 0.5807 GB, free: 91.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.9455, allocations: 8.969 kB / 0.5807 GB, free: 91.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.9479, allocations: 420 kB / 0.5811 GB, free: 91.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.95, allocations: 0.8162 MB / 0.5819 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.9501, allocations: 97.19 kB / 0.582 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.9503, allocations: 125.3 kB / 0.5821 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.9537, allocations: 2.368 MB / 0.5844 GB, free: 91.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.9537, allocations: 1.719 kB / 0.5844 GB, free: 91.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.9538, allocations: 48.88 kB / 0.5845 GB, free: 91.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.9539, allocations: 31.58 kB / 0.5845 GB, free: 91.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005007/0.9589, allocations: 3.581 MB / 0.588 GB, free: 91.2 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01088/0.9698, allocations: 6.516 MB / 0.5943 GB, free: 89.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.9737, allocations: 2.762 MB / 0.597 GB, free: 89.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.975, allocations: 0.9459 MB / 0.598 GB, free: 89.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005632/0.9755, allocations: 340 kB / 0.5983 GB, free: 89.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.9756, allocations: 48.16 kB / 0.5983 GB, free: 89.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 3.897e-06/0.9756, allocations: 0 / 0.5983 GB, free: 89.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=179): time 0.02834/1.004, allocations: 8.459 MB / 0.6066 GB, free: 88.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005949/1.01, allocations: 2.853 MB / 0.6094 GB, free: 86.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.011, allocations: 1.174 MB / 0.6105 GB, free: 86.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/1.012, allocations: 56.08 kB / 0.6106 GB, free: 86.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/1.012, allocations: 0.5151 MB / 0.6111 GB, free: 85.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/1.013, allocations: 0.5982 MB / 0.6117 GB, free: 85.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/1.013, allocations: 39.11 kB / 0.6117 GB, free: 85.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/1.013, allocations: 429.7 kB / 0.6121 GB, free: 85.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/1.014, allocations: 1.31 MB / 0.6134 GB, free: 84.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.016, allocations: 1.563 MB / 0.6149 GB, free: 83.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/1.018, allocations: 1.438 MB / 0.6163 GB, free: 83.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.018, allocations: 6.625 kB / 0.6163 GB, free: 83.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006468/1.024, allocations: 3.568 MB / 0.6198 GB, free: 82.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.024, allocations: 7.344 kB / 0.6198 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.024, allocations: 5.5 kB / 0.6198 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/1.027, allocations: 448.4 kB / 0.6203 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.029, allocations: 398.9 kB / 0.6206 GB, free: 81.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/1.034, allocations: 4.339 MB / 0.6249 GB, free: 78.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.037, allocations: 183.4 kB / 0.625 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.037, allocations: 90.02 kB / 0.6251 GB, free: 78.14 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 206 * Array equations: 2 * 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.0003461/1.037, allocations: 201.2 kB / 0.6253 GB, free: 77.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.037, allocations: 119.4 kB / 0.6254 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008261/1.046, allocations: 3.625 MB / 0.629 GB, free: 76.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007697/1.053, allocations: 3.232 MB / 0.6321 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.054, allocations: 3.438 kB / 0.6321 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-05/1.054, allocations: 11.2 kB / 0.6321 GB, free: 75.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.067, allocations: 8.124 MB / 0.6401 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/1.067, allocations: 9.844 kB / 0.6401 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.068, allocations: 318.1 kB / 0.6404 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/1.073, allocations: 0.941 MB / 0.6413 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/1.073, allocations: 59.98 kB / 0.6414 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/1.082, allocations: 6.401 MB / 0.6476 GB, free: 67.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005277/1.087, allocations: 2.458 MB / 0.65 GB, free: 66.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009494/1.097, allocations: 5.545 MB / 0.6554 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000811/1.098, allocations: 244.6 kB / 0.6557 GB, free: 62.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.098, allocations: 45.59 kB / 0.6557 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.1, allocations: 121.5 kB / 0.6558 GB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/1.1, allocations: 168.5 kB / 0.656 GB, free: 62.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.1, allocations: 78.69 kB / 0.6561 GB, free: 62.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001015/1.101, allocations: 0.9275 MB / 0.657 GB, free: 61.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.101, allocations: 4 kB / 0.657 GB, free: 61.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00428/1.105, allocations: 1.161 MB / 0.6581 GB, free: 60.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 5 ($STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002495/1.108, allocations: 1.148 MB / 0.6592 GB, free: 59.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003908/1.112, allocations: 3.056 MB / 0.6622 GB, free: 57.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.112, allocations: 0 / 0.6622 GB, free: 57.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/1.114, allocations: 1.762 MB / 0.6639 GB, free: 55.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.116, allocations: 263.1 kB / 0.6642 GB, free: 55.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/1.119, allocations: 2.807 MB / 0.6669 GB, free: 52.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/1.12, allocations: 1.223 MB / 0.6681 GB, free: 51.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001163/1.121, allocations: 263.6 kB / 0.6684 GB, free: 51.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.122, allocations: 150.8 kB / 0.6685 GB, free: 51.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/1.122, allocations: 0 / 0.6685 GB, free: 51.16 MB / 442.7 MB Notification: Performance of Templates: time 0.04685/1.168, allocations: 37.99 MB / 0.7056 GB, free: 19.38 MB / 442.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)