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/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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005015/0.005015, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.0009481/0.000948, allocations: 194.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3497/0.3497, allocations: 15.33 MB / 305.9 MB, free: 15.28 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 425.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3898, allocations: 53.6 MB / 478.8 MB, free: 25.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01071/0.4006, allocations: 10.31 MB / 489.1 MB, free: 18.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04035/0.4409, allocations: 32.89 MB / 0.5098 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.4446, allocations: 27.88 kB / 0.5098 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.448, allocations: 0.6996 MB / 0.5105 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.4605, allocations: 2.611 MB / 0.513 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01619/0.4767, allocations: 4.287 MB / 0.5172 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005975/0.4828, allocations: 3.008 MB / 0.5201 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.4858, allocations: 1.659 MB / 0.5218 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.4889, allocations: 1.457 MB / 0.5232 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.4921, allocations: 1.612 MB / 0.5248 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.4931, allocations: 268 kB / 0.525 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.5078, allocations: 3.608 MB / 0.5285 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.5091, allocations: 0.5997 MB / 0.5291 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.5119, allocations: 1.334 MB / 0.5304 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.5339, allocations: 6.614 MB / 0.5369 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5339, allocations: 0 / 0.5369 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5339, allocations: 0 / 0.5369 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.5341, allocations: 0 / 0.5369 GB, free: 11.3 MB / 414.1 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.008829/0.5429, allocations: 3.243 MB / 0.5401 GB, free: 7.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.543, allocations: 8.031 kB / 0.5401 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.546, allocations: 0.5674 MB / 0.5406 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.5484, allocations: 1.126 MB / 0.5417 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.5485, allocations: 164.6 kB / 0.5419 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.5489, allocations: 216.3 kB / 0.5421 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/0.5544, allocations: 2.783 MB / 0.5448 GB, free: 3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.5544, allocations: 8 kB / 0.5448 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.5547, allocations: 84 kB / 0.5449 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.5547, allocations: 52 kB / 0.5449 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/0.5608, allocations: 3.784 MB / 0.5486 GB, free: 15.06 MB / 430.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.01488/0.5757, allocations: 8.314 MB / 0.5568 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006082/0.5818, allocations: 3.956 MB / 0.5606 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.5834, allocations: 1.021 MB / 0.5616 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/0.598, allocations: 9.216 MB / 0.5706 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.5981, allocations: 47.88 kB / 0.5707 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006406/0.5988, allocations: 162.2 kB / 0.5708 GB, free: 6.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 3.507e-06/0.5988, allocations: 7.875 kB / 0.5708 GB, free: 6.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.02843/0.6272, allocations: 6.399 MB / 0.5771 GB, free: 312 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.6273, allocations: 77.39 kB / 0.5771 GB, free: 220 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.6299, allocations: 1.66 MB / 0.5788 GB, free: 14.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.6301, allocations: 53.7 kB / 0.5788 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008045/0.6309, allocations: 1.038 MB / 0.5798 GB, free: 13.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.6315, allocations: 0.5893 MB / 0.5804 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006977/0.6322, allocations: 472.7 kB / 0.5809 GB, free: 12.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6324, allocations: 305.1 kB / 0.5811 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.6337, allocations: 0.7936 MB / 0.5819 GB, free: 11.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.6359, allocations: 1.6 MB / 0.5835 GB, free: 9.301 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.6393, allocations: 2.421 MB / 0.5858 GB, free: 6.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.6393, allocations: 11.94 kB / 0.5859 GB, free: 6.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008486/0.6478, allocations: 3.127 MB / 0.5889 GB, free: 3.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.6479, allocations: 16 kB / 0.5889 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/0.6479, allocations: 24 kB / 0.589 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00375/0.6517, allocations: 491 kB / 0.5894 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.654, allocations: 0.5811 MB / 0.59 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.6659, allocations: 7.701 MB / 0.5975 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.6687, allocations: 83.98 kB / 0.5976 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/0.669, allocations: 140 kB / 0.5977 GB, free: 9.777 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.6703, allocations: 424.1 kB / 0.5981 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.6707, allocations: 169.8 kB / 0.5983 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007265/0.678, allocations: 2.408 MB / 0.6006 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.678, allocations: 20 kB / 0.6007 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.678, allocations: 4 kB / 0.6007 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.6781, allocations: 7.969 kB / 0.6007 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.6811, allocations: 1.863 MB / 0.6025 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.6812, allocations: 4 kB / 0.6025 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.6824, allocations: 343.5 kB / 0.6028 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.686, allocations: 455 kB / 0.6033 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/0.6863, allocations: 63.97 kB / 0.6033 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.36/1.046, allocations: 7.527 MB / 0.6107 GB, free: 117.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.046, allocations: 2.031 kB / 0.6107 GB, free: 117.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008615/1.055, allocations: 2.999 MB / 0.6136 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/1.056, allocations: 238.6 kB / 0.6138 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/1.056, allocations: 38.67 kB / 0.6139 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/1.057, allocations: 38.53 kB / 0.6139 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.057, allocations: 148.6 kB / 0.614 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.057, allocations: 70.84 kB / 0.6141 GB, free: 116.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00164/1.059, allocations: 1.136 MB / 0.6152 GB, free: 115.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.059, allocations: 1.969 kB / 0.6152 GB, free: 115.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005443/1.064, allocations: 1.361 MB / 0.6165 GB, free: 115.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003644/1.068, allocations: 1.499 MB / 0.618 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005584/1.074, allocations: 2.503 MB / 0.6205 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.074, allocations: 0.9688 kB / 0.6205 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/1.077, allocations: 1.361 MB / 0.6218 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.079, allocations: 360.8 kB / 0.6221 GB, free: 113.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/1.086, allocations: 3.558 MB / 0.6256 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.088, allocations: 1.383 MB / 0.627 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002191/1.09, allocations: 432.3 kB / 0.6274 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/1.091, allocations: 299.7 kB / 0.6277 GB, free: 110.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/1.091, allocations: 0 / 0.6277 GB, free: 110.7 MB / 478.1 MB Notification: Performance of Templates: time 0.05912/1.15, allocations: 47.01 MB / 0.6736 GB, free: 72.44 MB / 478.1 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)