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.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001119/0.001119, allocations: 192 kB / 16.14 MB, free: 6.703 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2289/0.2289, allocations: 15.31 MB / 305.3 MB, free: 15.29 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.88 kB / 369.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 53.62 MB / 423.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01233/0.1337, allocations: 11.84 MB / 435.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2449/0.3786, allocations: 32.83 MB / 467.9 MB, free: 29.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.3813, allocations: 52.28 kB / 468 MB, free: 29.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.384, allocations: 0.6276 MB / 468.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009738/0.3938, allocations: 2.305 MB / 470.9 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01167/0.4055, allocations: 3.751 MB / 474.7 MB, free: 25.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.4096, allocations: 2.873 MB / 477.5 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.4114, allocations: 1.427 MB / 479 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.413, allocations: 1.42 MB / 480.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.4148, allocations: 1.572 MB / 482 MB, free: 22.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.4153, allocations: 175.8 kB / 482.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01424/0.4295, allocations: 3.537 MB / 485.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.4307, allocations: 0.5238 MB / 486.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.4328, allocations: 1.252 MB / 487.4 MB, free: 20.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.4505, allocations: 6.182 MB / 493.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4505, allocations: 0 / 493.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4505, allocations: 0.7969 kB / 493.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.158e-05/0.4506, allocations: 0 / 493.6 MB, free: 17.66 MB / 366.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.007288/0.4579, allocations: 3.241 MB / 496.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.458, allocations: 10.44 kB / 496.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.4608, allocations: 0.5642 MB / 497.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.4629, allocations: 1.095 MB / 498.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.463, allocations: 158.4 kB / 498.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.4634, allocations: 227.2 kB / 498.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/0.468, allocations: 2.782 MB / 0.4899 GB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.4681, allocations: 3.938 kB / 0.4899 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.4683, allocations: 85.88 kB / 0.49 GB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/0.4683, allocations: 50.44 kB / 0.4901 GB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/0.4738, allocations: 3.787 MB / 0.4938 GB, free: 12.43 MB / 366.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.01194/0.4858, allocations: 8.341 MB / 0.5019 GB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004824/0.4906, allocations: 3.964 MB / 0.5058 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.4919, allocations: 1.021 MB / 0.5068 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/0.5055, allocations: 9.243 MB / 0.5158 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5056, allocations: 43.88 kB / 0.5159 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009658/0.5066, allocations: 170.1 kB / 0.516 GB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 3.557e-06/0.5066, allocations: 0 / 0.516 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.03406/0.5406, allocations: 6.384 MB / 0.5222 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.5408, allocations: 69.41 kB / 0.5223 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.544, allocations: 1.667 MB / 0.5239 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003927/0.5444, allocations: 57.7 kB / 0.524 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.5454, allocations: 1.038 MB / 0.525 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.5466, allocations: 0.5931 MB / 0.5256 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.548, allocations: 476.7 kB / 0.526 GB, free: 11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5482, allocations: 301.1 kB / 0.5263 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.5499, allocations: 0.7936 MB / 0.5271 GB, free: 9.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.5524, allocations: 1.597 MB / 0.5287 GB, free: 7.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/0.5558, allocations: 2.409 MB / 0.531 GB, free: 5.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.5558, allocations: 11.94 kB / 0.531 GB, free: 5.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008791/0.5646, allocations: 3.123 MB / 0.5341 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5647, allocations: 16 kB / 0.5341 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/0.5647, allocations: 32 kB / 0.5341 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/0.5688, allocations: 491 kB / 0.5346 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.5711, allocations: 0.5889 MB / 0.5352 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5828, allocations: 6.962 MB / 0.542 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.5859, allocations: 139.8 kB / 0.5421 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006279/0.5865, allocations: 147.9 kB / 0.5422 GB, free: 9.117 MB / 414.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.001612/0.5882, allocations: 416.9 kB / 0.5426 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.5889, allocations: 169.8 kB / 0.5428 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008741/0.5977, allocations: 2.401 MB / 0.5451 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5977, allocations: 16 kB / 0.5452 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.5977, allocations: 8 kB / 0.5452 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/0.5978, allocations: 7.969 kB / 0.5452 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.6016, allocations: 1.869 MB / 0.547 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.6017, allocations: 4.25 kB / 0.547 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.6031, allocations: 347.5 kB / 0.5473 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/0.6071, allocations: 454.9 kB / 0.5478 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.6074, allocations: 59.97 kB / 0.5478 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.6175, allocations: 6.789 MB / 0.5545 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.6176, allocations: 4 kB / 0.5545 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009597/0.6272, allocations: 2.999 MB / 0.5574 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.6281, allocations: 234.9 kB / 0.5576 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/0.6288, allocations: 40 kB / 0.5577 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.6305, allocations: 63.81 kB / 0.5577 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/0.6309, allocations: 149.8 kB / 0.5579 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/0.6312, allocations: 75.97 kB / 0.5579 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.633, allocations: 1.13 MB / 0.559 GB, free: 7.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.633, allocations: 0 / 0.559 GB, free: 7.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005725/0.6388, allocations: 1.358 MB / 0.5604 GB, free: 5.832 MB / 430.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.004765/0.6435, allocations: 1.495 MB / 0.5618 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004894/0.6484, allocations: 2.489 MB / 0.5643 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.6485, allocations: 4 kB / 0.5643 GB, free: 1.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.6508, allocations: 1.357 MB / 0.5656 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.6535, allocations: 342.5 kB / 0.5659 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.6617, allocations: 4.473 MB / 0.5703 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.6633, allocations: 1.39 MB / 0.5716 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002263/0.6656, allocations: 436.2 kB / 0.572 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008103/0.6664, allocations: 294.5 kB / 0.5723 GB, free: 9.402 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6664, allocations: 3.938 kB / 0.5723 GB, free: 9.398 MB / 446.1 MB Notification: Performance of Templates: time 0.2818/0.9482, allocations: 44.21 MB / 0.6155 GB, free: 133.2 MB / 462.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)