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.006888/0.006888, allocations: 98.55 kB / 15.73 MB, free: 6.039 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.001362/0.001363, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2877/0.2877, allocations: 15.31 MB / 305.8 MB, free: 15.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 425.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3158, allocations: 53.6 MB / 478.8 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01035/0.3262, allocations: 10.31 MB / 489.1 MB, free: 18.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03427/0.3605, allocations: 32.9 MB / 0.5098 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.3639, allocations: 27.81 kB / 0.5098 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.3665, allocations: 0.6885 MB / 0.5105 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.3792, allocations: 2.619 MB / 0.513 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.3945, allocations: 4.283 MB / 0.5172 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005658/0.4002, allocations: 3.015 MB / 0.5201 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.4024, allocations: 1.658 MB / 0.5218 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.4041, allocations: 1.453 MB / 0.5232 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.406, allocations: 1.616 MB / 0.5248 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.4064, allocations: 263.9 kB / 0.525 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.4208, allocations: 3.608 MB / 0.5285 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008392/0.4216, allocations: 0.6037 MB / 0.5291 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.4236, allocations: 1.33 MB / 0.5304 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02758/0.4512, allocations: 6.646 MB / 0.5369 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.4513, allocations: 0 / 0.5369 GB, free: 11.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4513, allocations: 0 / 0.5369 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.4515, allocations: 0 / 0.5369 GB, free: 11.27 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.01264/0.4642, allocations: 3.326 MB / 0.5402 GB, free: 7.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.4642, allocations: 12.03 kB / 0.5402 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.4686, allocations: 0.5843 MB / 0.5407 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.4728, allocations: 1.131 MB / 0.5418 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.4731, allocations: 160.6 kB / 0.542 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006674/0.4738, allocations: 216.3 kB / 0.5422 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008039/0.4819, allocations: 2.791 MB / 0.5449 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-05/0.482, allocations: 0 / 0.5449 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.4824, allocations: 88 kB / 0.545 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.312e-05/0.4825, allocations: 52 kB / 0.5451 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.4939, allocations: 3.78 MB / 0.5488 GB, free: 14.92 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.02691/0.5209, allocations: 8.34 MB / 0.5569 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.5324, allocations: 3.955 MB / 0.5608 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.5355, allocations: 1.025 MB / 0.5618 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/0.5596, allocations: 9.231 MB / 0.5708 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.46e-05/0.5597, allocations: 47.81 kB / 0.5708 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00111/0.5609, allocations: 170.6 kB / 0.571 GB, free: 6.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=138): time 7.123e-06/0.5609, allocations: 0 / 0.571 GB, free: 6.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=170): time 0.05175/0.6127, allocations: 6.426 MB / 0.5773 GB, free: 108 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.6128, allocations: 77.34 kB / 0.5773 GB, free: 16 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/0.617, allocations: 1.66 MB / 0.579 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.6174, allocations: 53.7 kB / 0.579 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.6188, allocations: 1.081 MB / 0.5801 GB, free: 13.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6199, allocations: 0.612 MB / 0.5807 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/0.6215, allocations: 476.8 kB / 0.5811 GB, free: 12.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.6217, allocations: 305.1 kB / 0.5814 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.6244, allocations: 0.7975 MB / 0.5822 GB, free: 11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/0.6282, allocations: 1.593 MB / 0.5837 GB, free: 9.043 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/0.6343, allocations: 2.421 MB / 0.5861 GB, free: 6.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/0.6343, allocations: 8 kB / 0.5861 GB, free: 6.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01428/0.6486, allocations: 3.14 MB / 0.5892 GB, free: 3.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.6487, allocations: 16 kB / 0.5892 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.459e-05/0.6488, allocations: 28.16 kB / 0.5892 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.6542, allocations: 486.9 kB / 0.5897 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.6575, allocations: 0.585 MB / 0.5903 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.6757, allocations: 7.709 MB / 0.5978 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.6789, allocations: 88.05 kB / 0.5979 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/0.6794, allocations: 140 kB / 0.598 GB, free: 9.496 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.001338/0.6808, allocations: 424.8 kB / 0.5984 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.6815, allocations: 174.9 kB / 0.5986 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00802/0.6895, allocations: 2.397 MB / 0.6009 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6896, allocations: 16.09 kB / 0.6009 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6896, allocations: 4 kB / 0.6009 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/0.6896, allocations: 11.95 kB / 0.6009 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6928, allocations: 1.859 MB / 0.6028 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.6929, allocations: 4 kB / 0.6028 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.6942, allocations: 347.6 kB / 0.6031 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/0.6977, allocations: 459.1 kB / 0.6035 GB, free: 3.699 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.6979, allocations: 59.97 kB / 0.6036 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2917/0.9897, allocations: 7.525 MB / 0.6109 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.9897, allocations: 2.25 kB / 0.6109 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.9978, allocations: 3.01 MB / 0.6139 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.9984, allocations: 240.1 kB / 0.6141 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.9987, allocations: 42.5 kB / 0.6142 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.9996, allocations: 38.88 kB / 0.6142 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000496/1, allocations: 146 kB / 0.6143 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1, allocations: 76.2 kB / 0.6144 GB, free: 115.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001813/1.002, allocations: 1.131 MB / 0.6155 GB, free: 115 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.062e-06/1.002, allocations: 0.9688 kB / 0.6155 GB, free: 115 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004685/1.007, allocations: 1.386 MB / 0.6169 GB, free: 114.8 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.002731/1.01, allocations: 1.516 MB / 0.6183 GB, free: 114.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00537/1.015, allocations: 2.505 MB / 0.6208 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/1.015, allocations: 1.312 kB / 0.6208 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.017, allocations: 1.356 MB / 0.6221 GB, free: 112.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.019, allocations: 377.5 kB / 0.6225 GB, free: 112.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.024, allocations: 3.618 MB / 0.626 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009326/1.025, allocations: 1.383 MB / 0.6274 GB, free: 110 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001677/1.027, allocations: 433.3 kB / 0.6278 GB, free: 110 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/1.028, allocations: 298 kB / 0.6281 GB, free: 110 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.028, allocations: 0 / 0.6281 GB, free: 110 MB / 478.1 MB Notification: Performance of Templates: time 0.06003/1.088, allocations: 46.26 MB / 0.6732 GB, free: 72.45 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)